[Bug fortran/46017] Reject ALLOCATE(a, a%b) as "a%b" depends on the allocation status of "a"

dfranke at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 29 02:57:00 GMT 2010


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

Daniel Franke <dfranke at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.12.29 02:57:44
                 CC|                            |dfranke at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Daniel Franke <dfranke at gcc dot gnu.org> 2010-12-29 02:57:44 UTC ---
Small testcase with additional twist: double allocation of 'tt' is not reported
either:

  TYPE :: t
    INTEGER, ALLOCATABLE :: a(:)
  END TYPE

  TYPE(t), ALLOCATABLE :: tt
  ALLOCATE (tt, tt, tt%a(3))
END



More information about the Gcc-bugs mailing list