Description of Problem: gcc: "gcc.c-torture/execute/ieee/fp-cmp-2.c execution" fails Version-Release number of selected component (if applicable): gcc-2.96-101.src.rpm How Reproducible: always Steps to Reproduce: 1. rpm -i gcc-2.96-101.src.rpm 2. cd /usr/src/redhat/SPECS 3. rpm -ba gcc.spec 4. cd /usr/src/redhat/BUILD/gcc-2.96-20000731/obj-alpha-redhat-linux 5. make -k check 6. review gcc/testsuite/gcc.log Actual Results: Executing on host: /usr/src/redhat/BUILD/gcc-2.96-20000731/obj-alpha-redhat-linux/gcc/xgcc -B/usr/src/redhat/BUILD/gcc-2.96-20000731/obj-alpha-redhat-linux/gcc/ /usr/src/redhat/BUILD/gcc-2.96-20000731/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-2.c -w -O0 -ffloat-store -lm -o /usr/src/redhat/BUILD/gcc-2.96-20000731/obj-alpha-redhat-linux/gcc/testsuite/fp-cmp-2.x0 (timeout = 300) PASS: gcc.c-torture/execute/ieee/fp-cmp-2.c compilation, -O0 FAIL: gcc.c-torture/execute/ieee/fp-cmp-2.c execution, -O0 Expected Results: PASS: gcc.c-torture/execute/ieee/fp-cmp-2.c execution, -O0 Additional Information: Expected results achieved on intel RedHat7.2 This test also fails with the following flags: "-O1", "-O2", "-O3 -fomit-frame-pointer", "-O3 -fomit-frame-pointer -funroll-loops", "-O3 -fomit-frame-pointer -funroll-all-loops -finline-functions", "-O3 -g", "-O3 -fssa", "-Os"
Fixed in next release. Test was failing because the testing environment was not passing the -mieee flag to the compiler when building.