This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] PATCH: fill in code to merge declarations
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Kenneth Zadeck <zadeck at naturalbridge dot com>
- Date: Fri, 15 Sep 2006 12:28:18 -0700
- Subject: Re: [lto] PATCH: fill in code to merge declarations
- References: <450AF400.2070004@codesourcery.com>
Sandra Loosemore wrote:
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?
I will review the patch later today. However, I think that "-combine"
should work, e.g.:
gcc -x lto -c -combine a.o b.o
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713