[Bug fortran/77391] gfortran allows CHARACTER(LEN=:),PARAMETER:: STRING='constant' buts does not report it as an extension
urbanjost at comcast dot net
gcc-bugzilla@gcc.gnu.org
Tue Sep 6 00:07:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77391
--- Comment #8 from urbanjost at comcast dot net ---
Thanks. The asterick in this case and when used to initialize allocatable
character variables does not fit my old rule of thumb that "an asterick means
the variable is allocated and has a fixed length and size defined in another
scoping unit" (it is declared in the current unit); but it didn't fit my rule
about : meaning it was allocatable either. What you can and cannot do with
character variables has changed significantly; so I was not positive this was
an issue or not. I appreciate the fix and clarifications.
More information about the Gcc-bugs
mailing list