diff mbox

[testsuite,ia64] patch for gcc.dg/mtune.c

Message ID 1302043597.17764.742.camel@hpsje.cup.hp.com
State New
Headers show

Commit Message

Steve Ellcey April 5, 2011, 10:46 p.m. UTC
On Wed, 2011-04-06 at 00:17 +0200, Eric Botcazou wrote:
> > As an increasing number of targets will start using the Enum facility, it
> > would be good to be able to just to accept such a note on all targets
> > without requiring it.  But if that isn't possible, then this patch seems
> > appropriate (and similar changes to the test will be needed for other
> > targets using Enum here).
> 
> SPARC is a candidate.

I believe this patch will work for any platform and I will check it in
once I can test it.  I have been having bootstrap problems due to other
issues so I haven't been able to test it yet on all my platforms (some
of which will issue the note and others of which will not).

2011-04-05  Steve Ellcey  <sje@cup.hp.com>

        * gcc.dg/mtune.c: Prune note from output.

Comments

Eric Botcazou April 5, 2011, 10:56 p.m. UTC | #1
> I believe this patch will work for any platform and I will check it in
> once I can test it.  I have been having bootstrap problems due to other
> issues so I haven't been able to test it yet on all my platforms (some
> of which will issue the note and others of which will not).
>
> 2011-04-05  Steve Ellcey  <sje@cup.hp.com>
>
>         * gcc.dg/mtune.c: Prune note from output.

It works fine on the SPARC, thanks!
diff mbox

Patch

Index: gcc.dg/mtune.c
===================================================================
--- gcc.dg/mtune.c      (revision 172006)
+++ gcc.dg/mtune.c      (working copy)
@@ -4,4 +4,5 @@ 
 /* { dg-error "mtune" "" { target *-*-* } 0 } */
 /* { dg-bogus "march" "" { target *-*-* } 0 } */
 /* { dg-bogus "mcpu" "" { target *-*-* } 0 } */
+/* { dg-prune-output "note: valid arguments.*" } */