[Bug fortran/33343] ICE (segfault) on invalid code with wrongly shaped arguments to elemental procedures
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 12 21:26:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list