This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fprofile-generate and -fprofile-use
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Steven Bosscher <stevenb at suse dot de>
- Cc: gcc at gcc dot gnu dot org, girish vaitheeswaran <girish_vaithees at yahoo dot com>, Eric Christopher <echristo at apple dot com>
- Date: Thu, 1 Sep 2005 15:53:48 -0700
- Subject: Re: -fprofile-generate and -fprofile-use
- References: <20050901211921.75006.qmail@web80012.mail.yahoo.com> <200509012345.35114.stevenb@suse.de>
On Thu, Sep 01, 2005 at 11:45:35PM +0200, Steven Bosscher wrote:
> On Thursday 01 September 2005 23:19, girish vaitheeswaran wrote:
> > Sorry I still did not follow. This is what I
> > understood. During Feedback optimization apart from
> > the -fprofile-generate, one needs to turn on
> > -fmove-loop-invariants.
>
> You don't "need to". It just might help iff you are using a gcc 4.1
> based compiler.
>
> > However this option is not
> > recognized by the gcc 3.4.4 or 3.4.3 compilers. What
> > am I missing?
>
> You are missing that
> 1) this whole thread does not concern gcc 3.4.x; and
> 2) the option -fmove-loop-invariants does not exist in 3.4.x.
Girish started this thread about problems he is seeing with GCC 3.4.3
(see http://gcc.gnu.org/ml/gcc/2005-07/msg00866.html). Others of us
chimed in about similar issues with later versions. Suggestions for
avoiding the problems have been about those later versions, not the
version he is using.
Janis