This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50981] [4.4/4.5/4.6/4.7 Regression] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Jan 2012 14:36:38 +0000
- Subject: [Bug fortran/50981] [4.4/4.5/4.6/4.7 Regression] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument
- Auto-submitted: auto-generated
- References: <bug-50981-4@http.gcc.gnu.org/bugzilla/>
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.
+