[Bug fortran/53851] Automatic silent allocation/deallocation of allocatable variables in several instances

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Wed Jul 4 19:01:00 GMT 2012


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

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #1 from Harald Anlauf <anlauf at gmx dot de> 2012-07-04 19:01:25 UTC ---
You just discovered that gfortran supports reallocation on
assignment from Fortran 2003.

If you don't want that, either use -std=f95 or -fno-realloc-lhs
to prevent this.

With Intel Fortran, read their manual (see -standard-semantics).
Intel Fortran is not standard conforming by default.



More information about the Gcc-bugs mailing list