http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52117
Bug #: 52117
Summary: allocated arrays give incorrect results when used with
RESHAPE in gcc v4.6.2
Classification: Unclassified
Product: gcc
Version: unknown
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52117
--- Comment #2 from steven hirshman 2012-02-06
15:37:35 UTC ---
Thank you for the information. THe work-around works with the newer (4.6.2)
compiler, but is unrecognized by older versions of gcc that are in use on - for
example - NERSC computers.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52117
--- Comment #4 from steven hirshman 2012-02-06
19:45:53 UTC ---
Thanks. I tried the -std=f95 flag and it gave the same (wrong) answer as
without it, in the test code I sent you. What is not Fortran95 compatible with
the code snippet I sent you?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52117
--- Comment #8 from steven hirshman 2012-02-07
16:18:33 UTC ---
Thank you. I didn't catch the PAUSE problem. It now runs correctly with the
-std=f95 flag, which is what we'll use.
Thanks for your helpful responses.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52117
--- Comment #9 from steven hirshman 2012-02-10
20:00:47 UTC ---
Tobias
We have a problem in v4.6.2 with the following (using the std=f95 flag):
There seems to have been a limitation in past versions of gfortran with
allocatable components insid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52117
--- Comment #12 from steven hirshman 2012-02-11
12:08:02 UTC ---
Thank you for your reply. I'll check with my coworker about that.
From: burnus at gcc dot gnu.org
To: sphirsh...@yahoo.com
Sent: Saturday, February 11, 2012 6:40 AM
Subject: [Bu