This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [vta,vta4.4,trunk,4.4] fix -O0 -g vs -g0 codegen regression


On Wed, May 27, 2009 at 6:39 PM, Alexandre Oliva <aoliva@redhat.com> wrote:
> On May 27, 2009, Richard Guenther <richard.guenther@gmail.com> wrote:
>
>> @@ -640,6 +633,9 @@ remove_unused_locals (void)
>> ? ?var_ann_t ann;
>> ? ?bitmap global_unused_vars = NULL;
>
>> + ?if (!optimize)
>> + ? ?return;
>> +
>
>> This deserves a comment. ?Also checks for optimize later in that
>> function should be removed.
>
> *nod*
>
>> Ok with that change (the other patch as well).
>
> Thanks
>
>> For trunk only please (it's not a regression).
>
> The other patch (for tree-inline) actually fixes a regression. ?This one
> is just a better fix for the regression fixer you ok'ed before, that I
> haven't installed yet. ?The regression is that -O0 and -O0 -g generate
> different code since the recent additions o tests for debug_info_level
> in these two spots. ?These are new in 4.4.

Ok then.
Richard.

>
> --
> Alexandre Oliva, freedom fighter ? ?http://FSFLA.org/~lxoliva/
> You must be the change you wish to see in the world. -- Gandhi
> Be Free! -- http://FSFLA.org/ ? FSF Latin America board member
> Free Software Evangelist ? ? ?Red Hat Brazil Compiler Engineer
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]