This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/31628: stdcall function is miscompiled
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Janis Johnson <janis187 at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Fri, 18 May 2007 12:31:25 -0700
- Subject: Re: PATCH: PR target/31628: stdcall function is miscompiled
- References: <20070518155748.GA970@lucon.org> <20070518191658.GA5414@us.ibm.com>
On Fri, May 18, 2007 at 12:16:58PM -0700, Janis Johnson wrote:
> On Fri, May 18, 2007 at 08:57:48AM -0700, H. J. Lu wrote:
> > --- gcc/testsuite/gcc.target/i386/pr31628.c.foo 2007-05-18 08:52:06.000000000 -0700
> > +++ gcc/testsuite/gcc.target/i386/pr31628.c 2007-05-18 08:50:26.000000000 -0700
> > @@ -0,0 +1,24 @@
> > +/* { dg-do run } */
> > +/* { dg-require-effective-target ilp32 } */
> > +/* { dg-options "-m32 -fPIC -O2" } */
>
> Don't use -m32 in a test. In this case it's particularly redundant
> because the previous directive is already skipping the test if the
> current effective target isn't ilp32.
I checked it in without -m32.
H.J.