]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/42783 (Bogus Array bounds violation with optional array argument)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 19 Jan 2010 19:46:59 +0000 (19:46 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 19 Jan 2010 19:46:59 +0000 (19:46 +0000)
commit702a738bdbd231eb88fb12c3383e6443c7a5fe73
tree59f59cd796bef5a176ee21db239f922538ac3c28
parenta4f3bbc6e36c1afa4d4d660b4735161ac7fc1184
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
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bounds_check_15.f90 [new file with mode: 0644]
This page took 0.057812 seconds and 5 git commands to generate.