This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fwhole-program, -combine, several C sources ?
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 21 Oct 2006 13:13:11 -0700
- Subject: Re: fwhole-program, -combine, several C sources ?
- References: <20061021200348.GA21958@ours.starynkevitch.net>
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