[Bug fortran/17887] g77 generates code that results in segmentation fault
bdavis at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 8 03:15:00 GMT 2004
------- Additional Comments From bdavis at gcc dot gnu dot org 2004-10-08 03:15 -------
IMHO, here is the part of the F77 standard that applies:
15.9.3.2 Variables as Dummy Arguments.
A dummy argument that is a variable may be associated with an actual argument
that is a variable, array element, substring, or expression.
If the actual argument is a variable name, array element name, or substring
name, the associated dummy argument may be defined or redefined within the
subprogram. If the actual argument is a constant, a symbolic name of a constant,
a function reference, an expression involving operators, or an expression
enclosed in parentheses, the associated dummy argument must not be redefined
within the subprogram.
--bud
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17887
More information about the Gcc-bugs
mailing list