This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47051] [4.6 Regression] Wrong reallocate
- From: "Joost.VandeVondele at pci dot uzh.ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 2 Jan 2011 11:55:12 +0000
- Subject: [Bug fortran/47051] [4.6 Regression] Wrong reallocate
- Auto-submitted: auto-generated
- References: <bug-47051-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051
Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Summary|Wrong reallocate |[4.6 Regression] Wrong
| |reallocate
--- Comment #10 from Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 2011-01-02 11:54:52 UTC ---
The testcase in comment #0 is just Fortran95 (i.e. is well defined without
reallocation), and works fine with all versions of gfortran prior to 4.6. It is
thus a regression, and a quite serious one IMO since it can affect any code
using array assignment. It was found with CP2K, if that matters.