egcs-1.1b alpha-dec-osf3.2 internal error in change_address()

Richard Henderson rth@cygnus.com
Thu Apr 8 18:48:00 GMT 1999


On Thu, Apr 08, 1999 at 09:25:03PM -0400, Hans-Peter Nilsson wrote:
> I tried not to imply anything other than what is common for other
> systems; that the fp reg can *sometimes* be eliminated with
> sp+offset and then used as a "normal" call-saved register, but
> that it should not be fiddled or assumed being eliminated in a
> program.

In general, yes.  However, I would consider it a serious regression
if for Alpha any function that didn't use alloca ever did not have
its frame pointer eliminated.  Even at -O0.

And so if the programmer knows that they will never use alloca, and
that the code will always run only on Alpha, then they should be able
to assume they can usurp $15.

> I'll try to visualize it through a gdb session, using input from
> the original bug-report.

Um, that's the other part of my confusion -- I _don't_
replicate the failure here.  The original bug report works.

So your whole debugging session starts way too late.  You
would have needed to find out why fp_is_frame_pointer is
true at all.


r~


More information about the Gcc-bugs mailing list