[Bug fortran/47051] [4.6 Regression] Wrong reallocate

Joost.VandeVondele at pci dot uzh.ch gcc-bugzilla@gcc.gnu.org
Sun Jan 2 11:55:00 GMT 2011


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.



More information about the Gcc-bugs mailing list