https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99205
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-03-08 Status|UNCONFIRMED |NEW Known to work| |9.3.1 Known to fail| |10.2.1, 11.0 Ever confirmed|0 |1 --- Comment #1 from anlauf at gcc dot gnu.org --- Confirmed. gcc-9 gave: pr99205.f90:2:12: 2 | character(l) :: c(2) | 1 Error: Variable 'l' cannot appear in the expression at (1) pr99205.f90:2:22: 2 | character(l) :: c(2) | 1 Error: 'c' at (1) must have constant character length in this context pr99205.f90:3:16: 3 | data c /'a', 'b'/ | 1 Warning: Initialization string at (1) was truncated to fit the variable (0/1)