[Bug c/47538] GNU Scientific Library miscompiled by gcc 4.6

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Sun Jan 30 02:07:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47538

Jack Howarth <howarth at nitro dot med.uc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-apple-darwin10
      Known to work|                            |4.5.2
               Host|                            |x86_64-apple-darwin10
      Known to fail|                            |4.6.0
              Build|                            |x86_64-apple-darwin10

--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-30 01:21:31 UTC ---
When gsl is built with FSF gcc 4.6 at -O1, the failure in the gsl testsuite
becomes a segfault...

Making check in cheb
make  test
gcc-fsf-4.6 -DHAVE_CONFIG_H -I. -I.. -I..    -O1 -MT test.o -MD -MP -MF
.deps/test.Tpo -c -o test.o test.c
mv -f .deps/test.Tpo .deps/test.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc-fsf-4.6  -O1   -o test test.o
libgslcheb.la ../ieee-utils/libgslieeeutils.la ../test/libgsltest.la
../sys/libgslsys.la ../err/libgslerr.la ../utils/libutils.la -lm 
libtool: link: gcc-fsf-4.6 -O1 -o test test.o  ./.libs/libgslcheb.a
../ieee-utils/.libs/libgslieeeutils.a ../test/.libs/libgsltest.a
../sys/.libs/libgslsys.a ../err/.libs/libgslerr.a ../utils/.libs/libutils.a -lm
make  check-TESTS
/bin/sh: line 1:  4837 Segmentation fault      ${dir}$tst
FAIL: test

whereas the gsl built with FSF gcc 4.5.2 at -O1 passes its make check fine.



More information about the Gcc-bugs mailing list