public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/47538] New: GNU Scientific Library miscompiled by gcc 4.6
@ 2011-01-30  2:03 howarth at nitro dot med.uc.edu
  2011-01-30  2:07 ` [Bug c/47538] " howarth at nitro dot med.uc.edu
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-30  2:03 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: GNU Scientific Library miscompiled by gcc 4.6
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


On x86_64-apple-darwin10, current gcc trunk miscompiles the gsl 1.14, GNU
Scientific Library, when built with the default -O2 optimization level. Running
make check on the gsl build shows the failures...

Making check in cheb
make  test
gcc-fsf-4.6 -DHAVE_CONFIG_H -I. -I.. -I..    -g -O2 -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  -g -O2   -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 -g -O2 -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
FAIL: gsl_cheb_eval, integ sin(-3.11) (-5.67922629742973622e-19 observed vs
-0.000493439634268399985 expected) [1739]
FAIL: gsl_cheb_eval, integ sin(-3.08) (-1.24082632985168642e-17 observed vs
-0.00197327157172844103 expected) [1740]
FAIL: gsl_cheb_eval, integ sin(-3.05) (-2.12528683906205616e-17 observed vs
-0.00443803539692000371 expected) [1741]
...
FAIL: gsl_cheb_eval_n, integ sin(3.08) (4.05282184237974912e-16 observed vs
-0.00197327157172899614 expected) [2137]
FAIL: gsl_cheb_eval_n, integ sin(3.11) (4.07401622622149715e-16 observed vs
-0.000493439634268733052 expected) [2138]
FAIL: test
==================
1 of 1 test failed
==================

which are not present when building gsl 1.14 with FSF gcc 4.5.2 on
x86_64-apple-darwin10.

Using built-in specs.
COLLECT_GCC=gcc-4
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.7.0/4.6.0/lto-wrapper
Target: x86_64-apple-darwin10.7.0
Configured with: ../gcc-4.6-20110129/configure --prefix=/sw
--prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info
--with-build-config=bootstrap-lto --enable-stage1-languages=c,lto
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-checking=yes --enable-cloog-backend=isl
Thread model: posix
gcc version 4.6.0 20110129 (experimental) (GCC)


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-02-02 18:31 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-30  2:03 [Bug c/47538] New: GNU Scientific Library miscompiled by gcc 4.6 howarth at nitro dot med.uc.edu
2011-01-30  2:07 ` [Bug c/47538] " howarth at nitro dot med.uc.edu
2011-01-30  2:48 ` howarth at nitro dot med.uc.edu
2011-01-30  3:05 ` howarth at nitro dot med.uc.edu
2011-01-30  3:10 ` howarth at nitro dot med.uc.edu
2011-01-30  9:39 ` howarth at nitro dot med.uc.edu
2011-01-30 18:20 ` [Bug c/47538] [4.6 Regression] " hjl.tools at gmail dot com
2011-01-30 22:03 ` hjl.tools at gmail dot com
2011-01-31 10:16 ` [Bug tree-optimization/47538] " jakub at gcc dot gnu.org
2011-01-31 10:29 ` ebotcazou at gcc dot gnu.org
2011-01-31 10:45 ` jakub at gcc dot gnu.org
2011-01-31 10:53 ` rguenth at gcc dot gnu.org
2011-01-31 12:50 ` jakub at gcc dot gnu.org
2011-01-31 13:18 ` rguenth at gcc dot gnu.org
2011-01-31 13:24 ` rguenth at gcc dot gnu.org
2011-01-31 13:29 ` rguenth at gcc dot gnu.org
2011-01-31 15:57 ` howarth at nitro dot med.uc.edu
2011-01-31 17:07 ` jakub at gcc dot gnu.org
2011-01-31 17:23 ` jakub at gcc dot gnu.org
2011-02-02 18:31 ` dnovillo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).