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 tree-optimization/53342] [4.8 Regression] rnflow.f90 is ~5% slower after revision 187340


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

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2013-02-05 13:35:51 UTC ---
After an incremental update of r195753 with the patch in comment #10, compiling
rnflow.f90 with '-O3 -ffast-math -funroll-loops' gives an executable which
segfault.

  0: 0: 0.135 -> Read sequence
  0: 0:42.259 -> extract extrema
  0: 0:42.361 -> Generate raw transitions counts
  0: 0:42.566 -> Compute Markov matrix
  0: 0:42.595 -> Calculate theoretical rainflow
==6222== Invalid read of size 4
==6222==    at 0x10001E9FF: evlrnf_ (rnflow.f90:2703)
==6222==    by 0xFFFFFFFFFFFFFF15: ???
==6222==    by 0x10166D0CB: __strtodg (in /usr/lib/libSystem.B.dylib)
==6222==    by 0xE4: ???
==6222==  Address 0x507d4c030 is not stack'd, malloc'd or (recently) free'd
==6222== 
==6222== 
==6222== Process terminating with default action of signal 11 (SIGSEGV)
==6222==  General Protection Fault
==6222==    at 0x10170EFC1: dyld_stub_binder (in /usr/lib/libSystem.B.dylib)
==6222==    by 0x1015AC02F: ??? (in /opt/gcc/gcc4.8w/lib/libgfortran.3.dylib)
==6222==    by 0xE64: ???
==6222==    by 0x10149AE8A: _gfortrani_st_vprintf (in
/opt/gcc/gcc4.8w/lib/libgfortran.3.dylib)

If needed, I'll do a clean bootstrap later this afternoon.


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