This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][LTO] Re-set boolean_type_node in free_lang_data
> 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.
> 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.
--
Eric Botcazou