This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix gcc.c-torture/execute/990127-2.c for non-i386 ports
- From: Roman Zippel <zippel at linux-m68k dot org>
- To: Richard Sandiford <rsandifo at nildram dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 21 Sep 2007 00:37:42 +0200 (CEST)
- Subject: Re: [PATCH] fix gcc.c-torture/execute/990127-2.c for non-i386 ports
- References: <Pine.LNX.4.64.0709201522250.1817@scrub.home> <87ejgt9ivm.fsf@firetop.home>
Hi,
On Thu, 20 Sep 2007, Richard Sandiford wrote:
> Roman Zippel <zippel@linux-m68k.org> writes:
> > This tests has been recently fixed for the i386 port, but m68k has
> > exactly the same problem but it has no -mpc64 option.
> > In other cases this has been by using volatile or by using -ffloat-store
> > (e.g. in gcc.c-torture/execute/ieee), which are more portable.
>
> Maybe the second option -- adding -ffloat-store to additional_flags
> for m68k targets -- would be better. Changing the code in such old
> testcases should usually be the last resort.
Using -ffloat-store would be fine too, but then I'd prefer to just move it
to the ieee directory.
bye, Roman