sync-1.c: Add comments to checks for multiple messages reported for one line of sourc...
authorJanis Johnson <janisjo@codesourcery.com>
Tue, 12 Jun 2012 20:25:48 +0000 (20:25 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Tue, 12 Jun 2012 20:25:48 +0000 (20:25 +0000)
* gcc.c-torture/compile/sync-1.c: Add comments to checks for multiple
messages reported for one line of source code.

From-SVN: r188479

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/sync-1.c

index 6e9fbd9..7181f7d 100644 (file)
@@ -1,5 +1,8 @@
 2012-06-12  Janis Johnson  <janisjo@codesourcery.com>
 
+       * gcc.c-torture/compile/sync-1.c: Add comments to checks for multiple
+       messages reported for one line of source code.
+
        * gcc.dg/20031223-1.c: Add comments to check for multiple
        messages reported for one line of source code.
        * gcc.dg/Wconversion-integer.c: Likewise.
index 1a6a096..d300dbf 100644 (file)
@@ -1,5 +1,5 @@
-/* { dg-message "note: '__sync_fetch_and_nand' changed semantics in GCC 4.4" "" { target *-*-* } 0 } */
-/* { dg-message "note: '__sync_nand_and_fetch' changed semantics in GCC 4.4" "" { target *-*-* } 0 } */
+/* { dg-message "note: '__sync_fetch_and_nand' changed semantics in GCC 4.4" "fetch_and_nand" { target *-*-* } 0 } */
+/* { dg-message "note: '__sync_nand_and_fetch' changed semantics in GCC 4.4" "nand_and_fetch" { target *-*-* } 0 } */
 /* { dg-options "-ffat-lto-objects" } */
 
 /* Validate that each of the __sync builtins compiles.  This won't