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/30940] Fortran 2003: Scalar CHARACTER supplied to array dummy



------- Comment #3 from burnus at gcc dot gnu dot org  2007-06-28 23:01 -------
Created an attachment (id=13802)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13802&action=view)
tests, early draft of a patch

Attached is some tests plus some minimal patch.
Using the patch most valid cases should work.

However, some invalid cases are allowed (no range check).

The tests have been verified using NAG f95, except for the fourth case in
char_argument_3.f90 for which f95 does not give an error.

One should re-read the standard and check whether I miss some invalid/valid
cases, which should be covered.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30940


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