Bug report optimization #4186 and ia64

Nuesser, Wilhelm wilhelm.nuesser@sap.com
Tue Sep 25 01:40:00 GMT 2001


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



More information about the Gcc mailing list