[Bug fortran/27998] character arrays: warn if erray constructor values have different lengths
tobias dot burnus at physik dot fu-berlin dot de
gcc-bugzilla@gcc.gnu.org
Thu Jun 15 12:34:00 GMT 2006
------- Comment #2 from tobias dot burnus at physik dot fu-berlin dot de 2006-06-15 12:26 -------
> .....so, an error is definitely in order.
Maybe one could spit out a default warning and only with -std=f90 an error as
this is might be a commonly used Fortran extension. Or one simply always
regards it as error.
NAG's f95 gives even with -dusty an error
ifort gives not error/warning by default, unless -std95 is specified, then an
error message is given.
g95 gives no warning (not even with -Wall -Wextra) unless -std=f95 is used
(then it is an error)
Sun Studio's f95 gives always an error
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27998
More information about the Gcc-bugs
mailing list