This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fprofile-generate and -fprofile-use
- From: Steven Bosscher <stevenb at suse dot de>
- To: gcc at gcc dot gnu dot org
- Cc: girish vaitheeswaran <girish_vaithees at yahoo dot com>, Eric Christopher <echristo at apple dot com>
- Date: Thu, 1 Sep 2005 23:45:35 +0200
- Subject: Re: -fprofile-generate and -fprofile-use
- References: <20050901211921.75006.qmail@web80012.mail.yahoo.com>
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.
Gr.
Steven