diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2010-04-24 09:28:32 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2010-04-24 09:28:32 +0000 |
commit | 991b4da12247eb3e688e47f393229cc098bc7cea (patch) | |
tree | f478c03fe05157ce3c385681dcb888a51104ffd8 /gcc/fold-const.c | |
parent | 7b65808d33edf19143af6d0f272cf126f87ca147 (diff) | |
download | gcc-991b4da12247eb3e688e47f393229cc098bc7cea.zip gcc-991b4da12247eb3e688e47f393229cc098bc7cea.tar.gz gcc-991b4da12247eb3e688e47f393229cc098bc7cea.tar.bz2 |
re PR fortran/43841 (Missing temporary for ELEMENTAL function call)
2010-04-24 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-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/43841
PR fortran/43843
* gfortran.dg/elemental_scalar_args_1.f90 : New test.
From-SVN: r158683
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions