This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50721] [4.6/4.7 Regression] gfortran miscompiles FGSL


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]