fwhole-program, -combine, several C sources ?
Andrew Pinski
pinskia@gmail.com
Sat Oct 21 23:06:00 GMT 2006
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
More information about the Gcc
mailing list