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
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 2 Apr 2011 00:25:00 +0000 (UTC)
- Subject: Re: [patch, testsuite, ia64] patch for gcc.dg/mtune.c
- References: <201104012118.p31LINP20816@lucas.cup.hp.com>
On Fri, 1 Apr 2011, Steve Ellcey wrote:
> Looking into why this doesn't happen on other systems, it looks like
> the difference is that IA64 uses -mtune to set an enum variable and
> most (all?) the other platforms use it to set a string variable.
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).
--
Joseph S. Myers
joseph@codesourcery.com