[Bug fortran/50981] [4.4/4.5/4.6/4.7 Regression] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument
mikael at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 4 14:37:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50981
--- Comment #7 from Mikael Morin <mikael at gcc dot gnu.org> 2012-01-04 14:36:38 UTC ---
Author: mikael
Revision: 182875
Modified property: svn:log
Modified: svn:log at Wed Jan 4 14:36:34 2012
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Wed Jan 4 14:36:34 2012
@@ -1,3 +1,4 @@
+
PR fortran/50981
* trans-array.h (gfc_walk_elemental_function_args): New argument.
* trans-intrinsic.c (gfc_walk_intrinsic_function): Update call.
@@ -7,3 +8,5 @@
if possible. Check that the dummy and the actual argument are both
optional, and set can_be_null_ref accordingly.
+ * gfortran.dg/elemental_optional_args_2.f90: New test.
+
More information about the Gcc-bugs
mailing list