aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Johnson <janisjo@codesourcery.com>2012-06-12 20:25:48 +0000
committerJanis Johnson <janis@gcc.gnu.org>2012-06-12 20:25:48 +0000
commit300407a7730b868193979a6448f0fa690fcfdf35 (patch)
tree46c9ce6cdb891e1d7b6eabf02f5df251aa7cb9c8
parent3eae54ca6e8c32569def0478d351d217d33d0ae6 (diff)
downloadgcc-300407a7730b868193979a6448f0fa690fcfdf35.zip
gcc-300407a7730b868193979a6448f0fa690fcfdf35.tar.gz
gcc-300407a7730b868193979a6448f0fa690fcfdf35.tar.bz2
sync-1.c: Add comments to checks for multiple messages reported for one line of source code.
* gcc.c-torture/compile/sync-1.c: Add comments to checks for multiple messages reported for one line of source code. From-SVN: r188479
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/sync-1.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6e9fbd9..7181f7d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.c-torture/compile/sync-1.c b/gcc/testsuite/gcc.c-torture/compile/sync-1.c
index 1a6a096..d300dbf 100644
--- a/gcc/testsuite/gcc.c-torture/compile/sync-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/sync-1.c
@@ -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