This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Test g++.dg/cpp0x/nullptr19.c contains the following: char* k( char* ); /* { dg-message "note" } { dg-message "note" } */ nullptr_t k( nullptr_t ); /* { dg-message "note" } { dg-message "note" } */ Having two test directives on a line should have resulted in an ERROR but the local replacement of dg-warning silently ignores errors (something I plan to fix). There are two notes for each of these lines, identical but after different candidate lists. Since they are identical DejaGnu removes both of them after one has been processed, and there is apparently no way to check for both of them. At least with this patch we'll correctly check for one for each line. Tested on i686-pc-linux-gnu; OK for trunk? Janis
Attachment:
gcc-20120628-3
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |