[Bug fortran/86167] allocation variable length character array in derived type incorrect
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sun Jul 8 17:29:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86167
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-07-08
Target Milestone|--- |9.0
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 6.4.0 up to trunk (9.0). Compiling the test with 5.5.0 gives
pr86167.f90:14:11:
allocate(a2,source=a1)
1
Error: Array specification required in ALLOCATE statement at (1)
pr86167.f90:16:11:
allocate(tb%a1,source=a2)
1
Error: Array specification required in ALLOCATE statement at (1)
More information about the Gcc-bugs
mailing list