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 Wed, Oct 14, 2009 at 16:56, Eric Botcazou <ebotcazou@adacore.com> wrote:

> Please conditionalize this on LTO mode.

[ Rafael and Richard have already addressed the type issue, so I won't
duplicate the arguments here. ]

Notice that free_lang_data is only casually related to LTO.  The
purpose of f_l_d is to translate the front end types and symbols into
middle end counterparts.  LTO happens to rely on this step to avoid
having to understand front end specific information.

All LTO understands is gimple statements and gimple types.  As such,
making middle end type decisions conditional on "LTO mode" goes
against the intended design and means that you are papering over some
other problem.


Diego.


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