This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

3.4.0 on linux-alpha: Bug with FDO


Hi,

brand new 3.4.0 on my linux-alpha fails when trying to use feedback
driven optimization:

garloff@pws:~/C/ljapunov [1]$ rm lja_speed.gc??
garloff@pws:~/C/ljapunov [0]$ gcc -Wall -O2 -ffast-math \
 -fomit-frame-pointer -fschedule-insns2 -O3 -frerun-loop-opt -mcpu=ev56 \
 -funroll-loops -fstrict-aliasing  -o lja_speed_34_nra_fdo -fnew-ra \
 -fprofile-generate -s lja_speed.c /usr/lib/libffm.a -lm
garloff@pws:~/C/ljapunov [0]$ ./lja_speed_34_nra_fdo 
!...............................1023
CPU time: 12.152s
garloff@pws:~/C/ljapunov [0]$ gcc -Wall -O2 -ffast-math \
 -fomit-frame-pointer -fschedule-insns2 -O3 -frerun-loop-opt -mcpu=ev56 \
 -funroll-loops -fstrict-aliasing  -o lja_speed_34_nra_fdo -fnew-ra \
 -fbranch-probabilities -s lja_speed.c /usr/lib/libffm.a -lm
lja_speed.c: In function `ljapunov':
lja_speed.c:191: error: corrupted profile info: number of executions for
edge 25-26 thought to be 25359472
lja_speed.c:191: error: corrupted profile info: number of executions for
edge 25-28 thought to be -1
garloff@pws:~/C/ljapunov [1]$ gcc -v
Reading specs from
/usr/src/gcc34x/bin/../lib/gcc/alphaev56-unknown-linux-gnu/3.4.0/specs
 Configured with: ../configure --with-system-zlib --enable-haifa
 --with-gnu-ld --enable-__cxa_atexit --prefix=/usr/src/gcc34x
 Thread model: posix
gcc version 3.4.0

Regards,
-- 
Kurt Garloff                   <kurt@garloff.de>             [Koeln, DE]
Physics:Plasma modeling <garloff@plasimo.phys.tue.nl> [TU Eindhoven, NL]
Linux: SUSE Labs (Head)        <garloff@suse.de>    [SUSE Nuernberg, DE]

Attachment: lja_speed.c
Description: Text document

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]