This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/27998] character arrays: warn if erray constructor values have different lengths



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]