This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Do you want to hear about xfree86 & -frename-registers
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 30 Apr 2002 09:51:33 -0700
- Subject: Re: Do you want to hear about xfree86 & -frename-registers
- References: <20020429190313.H19294@inxservices.com><20020429214201.B2586@redhat.com><20020430101601.O32482@sunsite.ms.mff.cuni.cz>
--On Tuesday, April 30, 2002 10:16:01 AM +0200 Jakub Jelinek
<jakub@redhat.com> wrote:
> On Mon, Apr 29, 2002 at 09:42:01PM -0700, Richard Henderson wrote:
>> On Mon, Apr 29, 2002 at 07:03:13PM -0700, George Garvey wrote:
>> > Or is that another "don't do that then"?
>>
>> With -O0? Yes, don't do that. We've fixed this by
>> disabling -frename-registers without optimization.
>
> Only on trunk though. Mark, should this be applied to branch too?
OK.
Note that it would seem a lot clearer to me to just set
flag_rename_registers to zero when optimize > 0 at compiler startup.
(See parse_options_and_default_flags.)
And maybe we should issue a warning.
But those changes can happen on the trunk only.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com