| Submitter | Janis Johnson |
|---|---|
| Date | June 12, 2012, 2:39 a.m. |
| Message ID | <4FD6ABD7.5060005@mentor.com> |
| Download | mbox | patch |
| Permalink | /patch/164315/ |
| State | New |
| Headers | show |
Comments
On Tue, Jun 12, 2012 at 4:39 AM, Janis Johnson <janis_johnson@mentor.com> wrote: > This test modifies dg-message test directives by adding comments that > will be added to lines in the test summary to eliminate non-unique lines > for checks of messages for the same line of source code in a test. > > Tested on i686-pc-linux-gnu and arm-none-eabi. OK for mainline? Ok. Thanks, Richard. > Janis
Patch
Index: gcc.c-torture/compile/sync-1.c =================================================================== --- gcc.c-torture/compile/sync-1.c (revision 188249) +++ gcc.c-torture/compile/sync-1.c (working copy) @@ -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