This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Bug report optimization #4186 and ia64
- To: "'Jim Wilson'" <wilson at cygnus dot com>
- Subject: RE: Bug report optimization #4186 and ia64
- From: "Nuesser, Wilhelm" <wilhelm dot nuesser at sap dot com>
- Date: Tue, 25 Sep 2001 10:40:22 +0200
- Cc: gcc at gcc dot gnu dot org
Hi,
> -----Original Message-----
> From: Jim Wilson [mailto:wilson@cygnus.com]
> I took a look at PR 4186. It is an x86 sibling-call optimization bug.
> We accidentally overwrite one of the incoming function
> arguments before
> reading it in the sibling call sequence. I put this info into the PR.
Thanks a lot for your quick response. We will re-build or entire
app asap and check this.
> I think it is unlikely that the IA-64 problem is related, since the
> IA-64 does not pass arguments on the stack like the x86 does.
You're right. We checked this with -fno-optimize-sibling-calls and
- independently - with -fno-strict-aliasing as H.J. Lu suggested.
Neither of them showed any effect.
We'll have to look futher into a testcase.
Thanks
Willi