bounds_check_15.f90
913 Bytes
-
re PR fortran/42783 (Bogus Array bounds violation with optional array argument) · 702a738b
2010-01-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/42783 * trans-decl.c (add_argument_checking): Do not use the backend decl directly to test for the presence of an optional dummy argument. Use gfc_conv_expr_present, remembering to set the symbol referenced. PR fortran/42772 * trans-decl.c (gfc_generate_function_code): Small white space changes. If 'recurcheckvar' is NULL do not try to reset it. 2010-01-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/42783 * gfortran.dg/bounds_check_15.f90 : New test. From-SVN: r156046
Paul Thomas committed