[Bug rtl-optimization/50191] Strange debug insn produced for TOC compiling 416.gamess with profile-generate

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 29 13:52:00 GMT 2011


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.



More information about the Gcc-bugs mailing list