public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/53342] [4.8 Regression] rnflow.f90 is ~5% slower after revision 187340
Date: Tue, 05 Feb 2013 13:36:00 -0000	[thread overview]
Message-ID: <bug-53342-4-awGxZjZrrP@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53342-4@http.gcc.gnu.org/bugzilla/>


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.


  parent reply	other threads:[~2013-02-05 13:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 11:43 [Bug tree-optimization/53342] New: " dominiq at lps dot ens.fr
2012-05-14 11:49 ` [Bug tree-optimization/53342] " rguenth at gcc dot gnu.org
2012-05-14 12:33 ` matz at gcc dot gnu.org
2012-09-07 11:51 ` rguenth at gcc dot gnu.org
2012-11-13 18:46 ` ubizjak at gmail dot com
2012-12-10 12:11 ` jakub at gcc dot gnu.org
2012-12-10 12:26 ` rguenther at suse dot de
2013-01-11 11:53 ` jakub at gcc dot gnu.org
2013-01-14 15:56 ` matz at gcc dot gnu.org
2013-01-14 16:45 ` jakub at gcc dot gnu.org
2013-02-05 12:12 ` rguenth at gcc dot gnu.org
2013-02-05 13:08 ` rguenth at gcc dot gnu.org
2013-02-05 13:36 ` dominiq at lps dot ens.fr [this message]
2013-02-05 13:52 ` rguenth at gcc dot gnu.org
2013-02-05 15:34 ` rguenth at gcc dot gnu.org
2013-02-05 15:36 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53342-4-awGxZjZrrP@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).