https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63469
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-11-30 CC| |pault at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Still present at r218188. Compiling the test with -fno-realloc-lhs gives Length of string with substring = 32 Length of string with substring = 32 Length of string without substring = 32 With revision 4.5.4 I get the error CHARACTER(:), ALLOCATABLE :: s 1 Error: Syntax error in CHARACTER declaration at (1)