[Bug fortran/50981] [4.4/4.5/4.6 Regression] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 16 20:17:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50981
--- Comment #19 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-16 19:51:48 UTC ---
Author: burnus
Date: Mon Jan 16 19:51:44 2012
New Revision: 183220
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183220
Log:
2012-01-16 Mikael Morin <mikael@gcc.gnu.org>
Tobias Burnus <burnus@net-b.de>
PR fortran/50981
* trans-array.c (gfc_walk_elemental_function_args): Fix
passing of deallocated allocatables/pointers as absent argument.
2012-01-16 Mikael Morin <mikael@gcc.gnu.org>
Tobias Burnus <burnus@net-b.de>
PR fortran/50981
* gfortran.dg/elemental_optional_args_3.f90: New
* gfortran.dg/elemental_optional_args_4.f90: New
Added:
trunk/gcc/testsuite/gfortran.dg/elemental_optional_args_3.f90
trunk/gcc/testsuite/gfortran.dg/elemental_optional_args_4.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list