This is the mail archive of the gcc@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: fwhole-program, -combine, several C sources ?


On Sat, 2006-10-21 at 22:03 +0200, Basile STARYNKEVITCH wrote:
> Dear All,
> 
> For C source programs only, is there a scenario where several (eg two or
> more) C source files (ie passed *.c arguments) can be passed with the
> -fwhole-program flag and without the -combine flag?

You can have a whole program in one source module so the warning would
get in the way of that case.  Plus -combine is useless in that case
also.  In fact -combine will go away once LTO finishes.

Thanks,
Andrew Pinski


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