This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50981] [4.4/4.5/4.6 Regression] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50981

--- Comment #37 from Mikael Morin <mikael at gcc dot gnu.org> 2012-02-12 15:46:18 UTC ---
Author: mikael
Date: Sun Feb 12 15:46:14 2012
New Revision: 184142

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184142
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/elemental_optional_args_5.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-stmt.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]