[lto] PATCH: fill in code to merge declarations

Andrew Pinski pinskia@physics.uc.edu
Fri Sep 15 19:14:00 GMT 2006


> I haven't figured out how to test this yet -- when I try to run more than one 
> file through the driver with -x lto -c, it seems to want to compile them 
> separately instead of merging them.  Do I need some other switch, or has this 
> not been implemented yet?

You could try -combine and if that does not work, then you need also to edit the
language specs for lto to make sure that the combine bit was set to true.
Also you need to make sure that the front-end is ready for multiple files.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list