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 #1 from paul dot richard dot thomas at cea dot fr  2006-06-15 06:33 -------
(In reply to comment #0)
According to section 4.5 of the Fortran95 standard:

"If the ac-value expressions are of type character, each ac-value expression in
the array-constructor shall have the same character length parameter."

.....so, an error is definitely in order.

Paul


-- 


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]