[Bug fortran/63867] LEN is lost for a CHARACTER variable inside SELECT TYPE
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sun Nov 30 11:55:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63867
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-11-30
Ever confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Present from 4.8.2 up to trunk (5.0 r218188). Compiling the test in comment 0
with 4.7.3 gives
class(*), intent(in) :: s
1
Fatal Error: Unlimited polymorphism at (1) not yet supported
> Also, I should add that changing
>
> type is(character(len=*))
>
> to
>
> type is(character(len=:))
>
> given an internal compiler error (anyway, the code then is invalid)
I don't get an ICE, but the error
pr63867_db.f90:12.23:
subroutine checklen1(s)
1
Error: Entity 's' at (1) has a deferred type parameter and requires either the
pointer or allocatable attribute
pr63867_db.f90:1.9:
program p
1
Error: TODO: Deferred character length variable at (1) cannot yet be associated
with unlimited polymorphic entities
More information about the Gcc-bugs
mailing list