2010-01-19 Paul Thomas <pault@gcc.gnu.org>
commit5fa0fdc2ffb6ad0bb91d325d6c3f847357f55ca3
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jan 2010 19:46:59 +0000 (19 19:46 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jan 2010 19:46:59 +0000 (19 19:46 +0000)
tree59f59cd796bef5a176ee21db239f922538ac3c28
parentf45cf6e6c0fb914063293eed22dbab02e7a1d8b2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156046 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bounds_check_15.f90 [new file with mode: 0644]