[Patch, fortran] PR43841 and PR43843 - Missing temporary for ELEMENTAL function call

Paul Richard Thomas paul.richard.thomas@gmail.com
Sat Apr 24 11:24:00 GMT 2010


Committed as "obvious" to trunk as revision 158683.

I'll apply to 4.5 in a week's time.

Paul


>
> 2010-04-23  Paul Thomas  <pault@gcc.gnu.org>
>
>        PR fortran/43841
>        PR fortran/43843
>        * trans-expr.c (gfc_conv_expr): Supply an address expression for
>        GFC_SS_REFERENCE.
>        (gfc_conv_expr_reference): Call gfc_conv_expr and return for
>        GFC_SS_REFERENCE.
>        * trans-array.c (gfc_add_loop_ss_code): Store the value rather
>        than the address of a GFC_SS_REFERENCE.
>        * trans.h : Change comment on GFC_SS_REFERENCE.
>
> 2010-04-23  Paul Thomas  <pault@gcc.gnu.org>
>
>        PR fortran/43841
>        PR fortran/43843
>        * gfortran.dg/elemental_scalar_args_1.f90 : New test.
>



More information about the Gcc-patches mailing list