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/33343] ICE (segfault) on invalid code with wrongly shaped arguments to elemental procedures



------- Comment #2 from burnus at gcc dot gnu dot org  2007-09-12 21:26 -------
"12.7.2 Elemental function actual arguments and results
[...] For those elemental functions that have more than one argument, all
actual arguments shall be conformable."

"conformable (2.4.5) : Two arrays are said to be conformable if they have the
same shape. A scalar is conformable with any array."

We should probably add such a check to interface.c's compare_actual_formal.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org


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


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