This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50721] [4.6/4.7 Regression] gfortran miscompiles FGSL
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Oct 2011 21:17:16 +0000
- Subject: [Bug fortran/50721] [4.6/4.7 Regression] gfortran miscompiles FGSL
- Auto-submitted: auto-generated
- References: <bug-50721-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50721
--- Comment #1 from kargl at gcc dot gnu.org 2011-10-13 21:17:16 UTC ---
(In reply to comment #0)
> That's with FGSL version 0.9.3 from
> http://www.lrz.de/services/software/mathematik/gsl/fortran/
>
> Using gfortran 4.7 or 4.6 to compile the library and the tests/poly.f90 test
> case shows a miscompile:
>
> $ ./poly.exe
> OK: All 25 tests passed
> Bus error (core dumped)
>
> As the stack is destroyed, one cannot get a good backtrace or error message.
What were the compiler options? Try using -fcheck=all -O0.
--
steve