--- Comment #11 from xinliangli at gmail dot com 2008-03-13 06:20 ---
(In reply to comment #10)
> Subject: Re: New: Error with -fprofile-use
>
> xinliangli at gmail dot com wrote:
> > In the following example, profile data generated by -O0 binary run can not
> > be
> > used for profi
--- Comment #10 from wilson at tuliptree dot org 2008-03-13 06:02 ---
Subject: Re: New: Error with -fprofile-use
xinliangli at gmail dot com wrote:
> In the following example, profile data generated by -O0 binary run can not be
> used for profile-use at -O2. This is either a bug or de
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-03-12 10:08 ---
GCC inserts code to update counters inline.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #8 from xinliangli at gmail dot com 2008-03-12 07:17 ---
(In reply to comment #5)
> For reference see:
> http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01205.html
> http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00200.html
> http://gcc.gnu.org/ml/gcc/2005-12/msg00215.html
>
> An
--- Comment #7 from xinliangli at gmail dot com 2008-03-12 07:12 ---
(In reply to comment #6)
> I should note that when GCC emits the annotations for profiling, it actually
> emits the counter updates and all and other optimizations don't need to know
> about them except if they want to
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-03-12 06:52 ---
I should note that when GCC emits the annotations for profiling, it actually
emits the counter updates and all and other optimizations don't need to know
about them except if they want to know the information about w
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-03-12 06:50 ---
For reference see:
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01205.html
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00200.html
http://gcc.gnu.org/ml/gcc/2005-12/msg00215.html
And most likely a couple others too.
--- Comment #4 from xinliangli at gmail dot com 2008-03-12 06:40 ---
(In reply to comment #3)
> (In reply to comment #2)
> > This model won't work well when -O4 (ipo) is in place. If instrumentation
> > and
> > annotation happens at the same phase in the compiler pipeline, I don't see a
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-03-12 06:28 ---
(In reply to comment #2)
> This model won't work well when -O4 (ipo) is in place. If instrumentation and
> annotation happens at the same phase in the compiler pipeline, I don't see a
> reason why such restriction is
--- Comment #2 from xinliangli at gmail dot com 2008-03-12 06:24 ---
(In reply to comment #1)
> This is by design, you need to use the same options for -fprofile-use as you
> do
> for -fprofile-generate.
>
This model won't work well when -O4 (ipo) is in place. If instrumentation and
a
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-12 06:04 ---
This is by design, you need to use the same options for -fprofile-use as you do
for -fprofile-generate.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
11 matches
Mail list logo