Hi all, I am facing one issue when running GCC testsuite on GCC4.4.1. Host machine: Fedora core 8. target Arm- cortex a-8 GCC 4.4.1 When I execute runtest with following options: #runtest --debug --target arm --tool_exec arm-v7a8-linux-gnueabi-gcc --tool gcc gcc.c-torture/compile/compile.exp=sync-1.c --target_board=myboard_sshscp why it fail's I am not getting it. The testcase is suppose to generate note message : note: '__sync_fetch_and_nand' changed semantics in GCC 4.4 The output does make warning but thereafter it fails. I observe one thing if i write /* { dg-message "note: '__sync_fetch_and_nand' changed semantics in GCC 4.4" "" { target *-*-* } 0 } */ with each call of (void) __sync_fetch_and_add (&sc, 1); the test is passed. so why it fails in original condition. Ex. below method pass. (void) __sync_fetch_and_add (&sc, 1);/* { dg-message "note: '__sync_nand_and_fetch' changed semantics in GCC 4.4" "" { target *-*-* } 0 } */ o/p of gcc.log ################################################################################################ Executing on host: arm-v7a8-linux-gnueabi-gcc -O0 -w -c -o sync-1.o ./gcc.c-torture/compile/sync-1.c (timeout = 300) pid is 30696 -30696 ./gcc.c-torture/compile/sync-1.c: In function 'test_op_ignore': ./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4 ./gcc.c-torture/compile/sync-1.c: In function 'test_op_and_fetch': ./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4 output is ./gcc.c-torture/compile/sync-1.c: In function 'test_op_ignore': ./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4 ./gcc.c-torture/compile/sync-1.c: In function 'test_op_and_fetch': ./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4 output is: ./gcc.c-torture/compile/sync-1.c: In function 'test_op_ignore': ./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4 ./gcc.c-torture/compile/sync-1.c: In function 'test_op_and_fetch': ./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4 FAIL: gcc.c-torture/compile/sync-1.c -O0 (test for excess errors) Excess errors: ./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4 ./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4 ################################################################################ o/p of dbg.log Running target myboard_sshscp Using /usr/local/share/dejagnu/baseboards/myboard_sshscp.exp as board description file for target. Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target. Using ./config/default.exp as tool-and-target-specific interface file. Running ./gcc.c-torture/compile/compile.exp ... Executing on host: arm-v7a8-linux-gnueabi-gcc -O0 -w -c -o sync-1.o ./gcc.c-torture/compile/sync-1.c (timeout = 300) spawn arm-v7a8-linux-gnueabi-gcc -O0 -w -c -o sync-1.o ./gcc.c-torture/compile/sync-1.c parent: waiting for sync byte parent: telling child to go ahead parent: now unsynchronized from child spawn: returns {30827} expect: does "" (spawn_id exp7) match regular expression ".+"? no ./gcc.c-torture/compile/sync-1.c: In function 'test_op_ignore': ./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4 expect: does "./gcc.c-torture/compile/sync-1.c: In function 'test_op_ignore':\r\n./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4\r\n" (spawn_id exp7) match regular expression ".+"? yes expect: set expect_out(0,string) "./gcc.c-torture/compile/sync-1.c: In function 'test_op_ignore':\r\n./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4\r\n" expect: set expect_out(spawn_id) "exp7" expect: set expect_out(buffer) "./gcc.c-torture/compile/sync-1.c: In function 'test_op_ignore':\r\n./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4\r\n" expect: continuing expect expect: does "" (spawn_id exp7) match regular expression ".+"? no ./gcc.c-torture/compile/sync-1.c: In function 'test_op_and_fetch': ./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4 expect: does "./gcc.c-torture/compile/sync-1.c: In function 'test_op_and_fetch':\r\n./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4\r\n" (spawn_id exp7) match regular expression ".+"? yes expect: set expect_out(0,string) "./gcc.c-torture/compile/sync-1.c: In function 'test_op_and_fetch':\r\n./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4\r\n" expect: set expect_out(spawn_id) "exp7" expect: set expect_out(buffer) "./gcc.c-torture/compile/sync-1.c: In function 'test_op_and_fetch':\r\n./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4\r\n" expect: continuing expect expect: does "" (spawn_id exp7) match regular expression ".+"? no expect: read eof expect: set expect_out(spawn_id) "exp7" expect: set expect_out(buffer) "" output is: ./gcc.c-torture/compile/sync-1.c: In function 'test_op_ignore': ./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4 ./gcc.c-torture/compile/sync-1.c: In function 'test_op_and_fetch': ./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4 FAIL: gcc.c-torture/compile/sync-1.c -O0 (test for excess errors) Excess errors: ./gcc.c-torture/compile/sync-1.c:79: note: '__sync_fetch_and_nand' changed semantics in GCC 4.4 ./gcc.c-torture/compile/sync-1.c:217: note: '__sync_nand_and_fetch' changed semantics in GCC 4.4 ################################################################################################################