This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Removing -frename-registers from -O3
- To: Geoff Keating <geoffk at geoffk dot org>
- Subject: Re: Removing -frename-registers from -O3
- From: Jeffrey A Law <law at redhat dot com>
- Date: Wed, 27 Dec 2000 08:19:06 -0700
- cc: Bernd Schmidt <bernds at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <jmn1dmbnnl.fsf@geoffk.org>you write:
>
> Bernd Schmidt <bernds@redhat.com> writes:
>
> > how do you feel about this patch? IMO -frename-registers is too harmful
> > to debugging to include it by default on any target (except ia64 for
> > which it's uncommonly useful).
>
> If we do this, can we have an -O4 which means 'best possible
> optimisation even if that breaks source code debugging'? That could
> also add -fomit-frame-pointer.
Seems reasonable to me.
LRS would be another candidate (once cleaned up & contributed) when it's used
on systems without suitable debug support for split-ranges.
jeff