------- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-03-28 08:28 ------- This is work that Daniel Kraft and I did (well, I think he did the hard work and I gave some loose sort of guidance). I seem to remember it was intentional (it may have been discussed on the list around summer of 2008, but I can't find it).
Regarding whether it's desirable or not, I think it is right to issue an error: this is rather recent Fortran code, so people have virtually no reason for not writing the proper constructor. (Accepting invalid code as a GNU extension should be done sparsely.) I'm thus closing as WONTFIX. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org Status|UNCONFIRMED |RESOLVED GCC build triplet|Linux, x86_64 and i486 | GCC host triplet|Linux, x86_64 and i486 | GCC target triplet|Linux, x86_64 and i486 | Resolution| |WONTFIX Summary|Non-standard assignment of |Invalid character |arrays of character objects |constructor rejected at - | |std=gnu since 4.4 Version|4.3.2 |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39490