This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1b alpha-dec-osf3.2 internal error in change_address()
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Subject: Re: egcs-1.1b alpha-dec-osf3.2 internal error in change_address()
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Thu, 08 Apr 1999 19:56:17 -0600
- cc: Richard Henderson <rth at cygnus dot com>, egcs-bugs at egcs dot cygnus dot com, fjh at cs dot mu dot OZ dot AU
- Reply-To: law at cygnus dot com
In message <Pine.BSF.4.02A.9904082153280.4966-100000@dair.pair.com>you write:
> The short answer is line 3782 in alpha.c:alpha_expand_epilogue
>
> fp_is_frame_pointer = ((TARGET_OPEN_VMS && vms_is_stack_procedure)
> || (!TARGET_OPEN_VMS && frame_pointer_needed));
>
> But I guess you'll bounce right back and ask me why frame_pointer_needed
> is 1? If it's not the obvious answer that "it's the default for
> non-optimizing compilations", I'll have to look some more.
Nobody actually tests frame pointer elimination when the optimizer is off.
At least very few people do :-) I did a few years ago and things basically
work (no suprise since some targets have eliminations that must always be
performed even when not optimizing, like arg->fp).
jeff