> Jan Hubicka wrote: > > >Sure if it works, we should be lowering the types during gimplification > >so we don't need to store all this in memory... > >But C++ FE still use its local data later in stuff like thunks, but we > >will need to cgraphize them anyway. > > I agree. The only use of language-specific DECLs and TYPEs after > gimplification should be for generating debug information. And if > that's already been done, then you shouldn't need it at all.
For LTO with debug info we will probably need some frontend neutral debug info representaiton in longer run, since optimization modifying the data types and such will need to compensate. We can translate stuff to in-memory dwarf and update it but that would limit amount of debug info format we will want to support probably. Honza > > -- > Mark Mitchell > CodeSourcery > [EMAIL PROTECTED] > (650) 331-3385 x713