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

login
register
mail settings
Submitter Steve Ellcey
Date April 5, 2011, 10:46 p.m.
Message ID <1302043597.17764.742.camel@hpsje.cup.hp.com>
Download mbox | patch
Permalink /patch/89942/
State New
Headers show

Comments

Steve Ellcey - April 5, 2011, 10:46 p.m.
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.
Eric Botcazou - April 5, 2011, 10:56 p.m.
> 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!

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.*" } */