This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/50191] Strange debug insn produced for TOC compiling 416.gamess with profile-generate
- From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Aug 2011 13:45:36 +0000
- Subject: [Bug rtl-optimization/50191] Strange debug insn produced for TOC compiling 416.gamess with profile-generate
- Auto-submitted: auto-generated
- References: <bug-50191-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50191
--- Comment #5 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2011-08-29 13:45:36 UTC ---
Jakub, I don't see -fprofile-generate in your list of options. What Peter gave
you was the link command that exposed the problem, but the error occurred when
compiling chgpen.fppized.f with the options given. The original options from
the build log were:
/home/wschmidt/gcc/install/gcc-mainline-base/bin/gfortran -c -o
chgpen.fppized.o -fprofile-generate -g -save-temps=obj -ffast-math -O3
-mveclibabi=mass -mcpu=power7 -mrecip=rsqrt -fpeel-loops -funroll-loops
-ftree-vectorize -fvect-cost-model -O3 -mvsx -maltivec -mpopcntd -m64
-ftree-loop-linear chgpen.fppized.f
which, after -v, I was able to whittle down to:
/home/wschmidt/gcc/install/gcc-mainline-base/libexec/gcc/powerpc64-linux/4.7.0/f951
chgpen.fppized.f -g -O3 -fprofile-generate -ffast-math -funroll-loops -o
chgpen.fppized.s
I should have left -mcpu=power7 and -m64 on there for you; sorry about that.
Try:
/home/wschmidt/gcc/install/gcc-mainline-base/libexec/gcc/powerpc64-linux/4.7.0/f951
chgpen.fppized.f -g -O3 -fprofile-generate -ffast-math -funroll-loops
-mcpu=power7 -m64 -o chgpen.fppized.s
Thanks! Sorry for the late response, I was out ill on Friday/Saturday.