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]

Re: [C] Patch: fix PR 22231


>>>>> "H.J." == H J Lu <hjl.tools@gmail.com> writes:

H.J.> Hi Tom,
H.J.> It doesn't work on Linux/ia32:

Thanks.

I'm checking this in.  This adds the missing bits to the dg-error.  I
must have misread the results earlier.  I'm sorry about that.

Tom

testsuite/ChangeLog:
2008-05-09  Tom Tromey  <tromey@redhat.com>

	* gcc.dg/pr22231.c: Fix dg-error call.

Index: testsuite/gcc.dg/pr22231.c
===================================================================
--- testsuite/gcc.dg/pr22231.c	(revision 135128)
+++ testsuite/gcc.dg/pr22231.c	(working copy)
@@ -2,6 +2,6 @@
 
 /* { dg-do compile } */
 /* { dg-options "-MG -MD -c" } */
-/* { dg-error "may only be used with -M" "" 0 */
+/* { dg-error "may only be used with -M" "-MG incompatible with -c" { target *-*-* } 0 } */
 
 int anything;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]