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 fortran/58425] Finalization: Segfault at runtime
Date: Sun, 15 Sep 2013 12:07:00 -0000	[thread overview]
Message-ID: <bug-58425-4-gOR2ftxGZ0@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58425-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Works for me:

[macbook] f90/bug% gfcc ~/test/Rouson/ssdSource/chapter05/hermetic/hermetic.F90
-c -Ofast
[macbook] f90/bug% gfcc ~/test/Rouson/ssdSource/chapter05/hermetic/vortex.F90
-c -Ofast
[macbook] f90/bug% gfcc ~/test/Rouson/ssdSource/chapter05/hermetic/main.F90
hermetic.o vortex.o -Ofast
[macbook] f90/bug% a.out
   1.00000000       0.00000000       0.00000000    
  0.707106769      0.707106769       0.00000000    
  -4.37113883E-08   1.00000000       0.00000000    
 -0.707106769      0.707106769       0.00000000    
  -1.00000000      -8.74227766E-08   0.00000000    
 -0.707106650     -0.707106888       0.00000000    
   1.19248806E-08  -1.00000000       0.00000000    
  0.707107008     -0.707106531       0.00000000    
[macbook] f90/bug% gfcc -v
Using built-in specs.
COLLECT_GCC=gfcc
COLLECT_LTO_WRAPPER=/opt/gcc/gcc4.9c/libexec/gcc/x86_64-apple-darwin10.8.0/4.9.0/lto-wrapper
Target: x86_64-apple-darwin10.8.0
Configured with: ../_clean/configure --prefix=/opt/gcc/gcc4.9c
--enable-languages=c,c++,fortran,objc,obj-c++,java,ada,lto --with-gmp=/opt/mp
--with-system-zlib --with-isl=/opt/mp --enable-lto --enable-plugin
Thread model: posix
gcc version 4.9.0 20130914 (experimental) [trunk revision 202590] (GCC) 

I also get the same output with -flto added or without -Ofast.


  reply	other threads:[~2013-09-15 12:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-15 11:35 [Bug fortran/58425] New: " burnus at gcc dot gnu.org
2013-09-15 12:07 ` dominiq at lps dot ens.fr [this message]
2013-09-15 16:32 ` [Bug fortran/58425] " burnus at gcc dot gnu.org
2013-09-15 20:20 ` burnus 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-58425-4-gOR2ftxGZ0@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).