https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69479
Bug ID: 69479 Summary: test case gcc.dg/and-1.c Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: seurer at linux dot vnet.ibm.com Target Milestone: --- Executing on host: /home/seurer/gcc/build/gcc-4.9/gcc/xgcc -B/home/seurer/gcc/build/gcc-4.9/gcc/ /home/seurer/gcc/gcc-4.9/gcc/testsuite/gcc.dg/and-1.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -ffat-lto-objects -ffat-lto-objects -S -o and-1.s (timeout = 300) spawn /home/seurer/gcc/build/gcc-4.9/gcc/xgcc -B/home/seurer/gcc/build/gcc-4.9/gcc/ /home/seurer/gcc/gcc-4.9/gcc/testsuite/gcc.dg/and-1.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -ffat-lto-objects -ffat-lto-objects -S -o and-1.s PASS: gcc.dg/and-1.c (test for excess errors) PASS: gcc.dg/and-1.c scan-assembler and FAIL: gcc.dg/and-1.c scan-assembler-not nand This test case works with gcc 5 and gcc 6 which produce the same output. The problem is here (comparing with gcc 5's output): 11,12c11 < neg 9,3 < nand 9,9,3 --- > addi 9,3,-1 I tried some earlier revisions of 4.9 back to March of 2015 and they all produced the same output.