This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] i386 sibcall miscompilation
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [testsuite] i386 sibcall miscompilation
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 22 Jun 2000 09:11:47 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000622140458.V474@sunsite.ms.mff.cuni.cz>you write:
> Hi!
>
> This testcase is miscompiled on i386 with -O2 (-O2 -fno-optimize-sibling-ca
> lls or
> -O2 -fno-strict-aliasing cure it though).
> The issue is that one of the arguments gets into alias set 6 (and all other
> args are in alias set 5, including write to the same location to prepare
> sibcall arguments) and the read from 16(%ebp) gets scheduled after the writ
> e
> from the same location, eventhough we're interested in the old, not new,
> value.
> No fix yet.
>
> 2000-06-22 Jakub Jelinek <jakub@redhat.com>
>
> * gcc.c-torture/execute/20000622-1.c: New test.
This is fine. Please install this test.
jeff