From 300407a7730b868193979a6448f0fa690fcfdf35 Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Tue, 12 Jun 2012 20:25:48 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/gcc.c-torture/compile/sync-1.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6e9fbd93cf1..7181f7d7c7b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2012-06-12 Janis Johnson + * 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 1a6a096ad41..d300dbfadc9 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