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: Richard Sandiford <rsandifo at nildram dot co dot uk>
- To: Roman Zippel <zippel at linux-m68k dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 20 Sep 2007 21:33:49 +0100
- Subject: Re: [PATCH] fix gcc.c-torture/execute/990127-2.c for non-i386 ports
- References: <Pine.LNX.4.64.0709201522250.1817@scrub.home>
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.
Richard