re PR fortran/35203 (OPTIONAL, VALUE actual argument cannot be an INTEGER 0)
authorTobias Burnus <burnus@net-b.de>
Fri, 29 Mar 2013 22:26:17 +0000 (23:26 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 29 Mar 2013 22:26:17 +0000 (23:26 +0100)
commit60f97ac8596d65a73164e2967e73404b99534f92
tree5c179c350d8b5c238071125bf8bc0ecb063eff87
parent50e10fa881de2b9fd82f83bc0c4c24227e2a4a97
re PR fortran/35203 (OPTIONAL, VALUE actual argument cannot be an INTEGER 0)

2013-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/35203
        * trans-decl.c (create_function_arglist): Pass hidden argument
        for passed-by-value optional+value dummies.
        * trans-expr.c (gfc_conv_expr_present,
        gfc_conv_procedure_call): Handle those.

2013-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/35203
        * gfortran.dg/optional_absent_3.f90: New.

From-SVN: r197252
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/optional_absent_3.f90 [new file with mode: 0644]