[Bug fortran/59765] [4.9/5 Regression] [OOP] ICE on valid with finalizable array components

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 3 15:00:00 GMT 2015


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

Mikael Morin <mikael at gcc dot gnu.org> changed:

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

--- Comment #14 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to janus from comment #5)
> Either we have to scalarize this later on (this is currently not
> implemented, because this is forbidden in actual Fortran code, see comment
> 4), or we have to generate a loop directly instead of the full-array
> expression.

For what it's worth, class.c's finalizer_insert_packed call generates a
scalarization loop "by hand"; maybe part of it can be reused.



More information about the Gcc-bugs mailing list