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/72832] [OOP] ALLOCATE with SOURCE fails to allocate requested dimensions


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).

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