]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/50981 ([OOP] Wrong-code for scalarizing ELEMENTAL call with absent...
authorMikael Morin <mikael@gcc.gnu.org>
Sun, 12 Feb 2012 15:46:14 +0000 (15:46 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Sun, 12 Feb 2012 15:46:14 +0000 (15:46 +0000)
commit9436b221f28cf1907d35e5b7e03ef8a527379f5e
treec1cb93e2a76a420c680b028bbe93cbcd49005b9b
parentdec131b6add752c0d71cb6720de4ab154bf72411
re PR fortran/50981 ([OOP] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument)

gcc/fortran/
PR fortran/50981
* trans-stmt.c (gfc_get_proc_ifc_for_call): New function.
(gfc_trans_call): Use gfc_get_proc_ifc_for_call.

gcc/testsuite/
PR fortran/50981
* gfortran.dg/elemental_optional_args_5.f03: New test.

From-SVN: r184142
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/elemental_optional_args_5.f03 [new file with mode: 0644]