This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]