diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2010-01-19 19:46:59 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2010-01-19 19:46:59 +0000 |
commit | 702a738bdbd231eb88fb12c3383e6443c7a5fe73 (patch) | |
tree | 59f59cd796bef5a176ee21db239f922538ac3c28 /gcc/java/lang.c | |
parent | a4f3bbc6e36c1afa4d4d660b4735161ac7fc1184 (diff) | |
download | gcc-702a738bdbd231eb88fb12c3383e6443c7a5fe73.zip gcc-702a738bdbd231eb88fb12c3383e6443c7a5fe73.tar.gz gcc-702a738bdbd231eb88fb12c3383e6443c7a5fe73.tar.bz2 |
re PR fortran/42783 (Bogus Array bounds violation with optional array argument)
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
Diffstat (limited to 'gcc/java/lang.c')
0 files changed, 0 insertions, 0 deletions