[Bug fortran/51652] Allocate with type-spec and source-expr: check whether length type-parameter is the same is lacking

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 7 20:24:00 GMT 2015


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

--- Comment #7 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #6)
> > Fixed?
> 
> Mostly for 4.8.3, 4.9.0, and trunk (4.10.0). The test in comment 0 does not
> compile with 4.8 (Deferred-length character component 'c' at (1) is not yet
> supported) and, when compiled with 4.9 or 4.10, executing the code gives
> 'no': 'kw(1)%c(1)' is empty.

Current trunk(6) and 5 branch now print 'yes'.
4.9.x prints 'no'.



More information about the Gcc-bugs mailing list