This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: target/10213: [3.4 regression] optimization problem with ix86 fast prologue with -O2 -fPIC
>
> hi -
>
> >Jan Hubicka writes:
> >Can you point me to the patch? I was off for a while and missed the
> >thread. In case the fast prologues was disabled, I would like to fix
> >the real problem instead.
>
> I think this is the patch that i was remembering:
>
> Thu Apr 3 00:18:49 CEST 2003 Jan Hubicka <jh@suse.cz>
>
> * i386.c (override_options): Disable red zone by default on i386.
> (compute_frame_layout, ix86_force_to_memory, ix86_free_from_memory):
> Do not test TARGET_64BIT together with TARGET_RED_ZONE
>
>
> I admit i never looked at the actual code, though, to be sure
> of what it was doing. When i saw that appear in the changelog,
> i thought that it was a reaction to the bug that i had reported...
I see,
that patch disable red zone on i386, where one can't use it but not for
x86-64, so the code path is not dead. The bugreport is ineed solved and
can be closed. Thanks!
Honza
>
> sss