[Bug fortran/72832] [OOP] ALLOCATE with SOURCE fails to allocate requested dimensions

vehre at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 10 08:28:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72832

vehre at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vehre at gcc dot gnu.org

--- Comment #2 from vehre at gcc dot gnu.org ---
There are two bugs in one here: 

- the shape is selected from source= and not from the b(1:4), and
- the shape of a and new b is not conformable, which can only be deduced at
runtime (and is already when the class(t) is replaced by type(t) and
-fcheck=all is used).


More information about the Gcc-bugs mailing list