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: [PATCH][LTO] Re-set boolean_type_node in free_lang_data


On Tue, Oct 13, 2009 at 8:02 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Even without LTO the frontend is supposed to be finished completely
>> if free-lang-data is called. ?Where do we get back to the Ada FE?
>
> We don't, just do a 'grep boolean_type_node' and you'll see that optimizers
> will happily introduce it again.

Sure, but that's a different boolean_type_node then.  And I don't
see a problem with that - do you?  Remember the original
boolean_type_nodes do not change.

>> And indeed, with Ada we'd need to fixup sizetype the same way
>> (though it'll get more interesting here because of
>> POINTER_PLUS_EXPR and verification and the awful choice
>> of sizetype for the offset).
>
> Yes, LTO is totally broken for Ada at the moment and will require some serious
> work on the Ada side. ?That's OK. ?What is definitely not OK is to break Ada
> in non-LTO mode.

I'm not convinced there is any breakage.  I guess you do not
have a testcase as otherwise you'd have shown it already, no?

Thanks,
Richard.


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