This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, testsuite, ia64] patch for gcc.dg/mtune.c
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.
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.*" } */