[PATCH][LTO] Re-set boolean_type_node in free_lang_data

Eric Botcazou ebotcazou@adacore.com
Thu Oct 15 13:39:00 GMT 2009


> 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.

Yes, the problem is well known, it's the incompatibility of boolean_type and 
sizetype between languages.  The proper fix is to make them compatible from 
the start, but this requires some serious work, in particular for sizetype.
What is papering over something here is changing them in free_lang_data.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list