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

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 4 21:50:00 GMT 2012


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

--- Comment #40 from Mikael Morin <mikael at gcc dot gnu.org> 2012-03-04 21:50:14 UTC ---
Author: mikael
Date: Sun Mar  4 21:50:08 2012
New Revision: 184904

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184904
Log:
fortran/
    PR fortran/50981
    * gfortran.h (gfc_is_class_container_ref): New prototype.
    * class.c (gfc_is_class_container_ref): New function.
    * trans-expr.c (gfc_conv_procedure_call): Add a "_data" component
    reference to polymorphic actual arguments.

testsuite/
    PR fortran/50981
    * gfortran.dg/elemental_optional_args_5.f03: Add subcomponent actual
    argument checks.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/class.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/elemental_optional_args_5.f03



More information about the Gcc-bugs mailing list