[Bug fortran/59026] ELEMENTAL procedure with VALUE arguments emits wrong code
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 9 19:45:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59026
--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sun Feb 9 19:45:06 2014
New Revision: 207645
URL: http://gcc.gnu.org/viewcvs?rev=207645&root=gcc&view=rev
Log:
2014-02-09 Paul Thomas <pault@gcc.gnu.org>
PR fortran/59026
* trans-expr.c (gfc_conv_procedure_call): Pass the value of the
actual argument to a formal argument with the value attribute
in an elemental procedure.
2014-02-09 Paul Thomas <pault@gcc.gnu.org>
PR fortran/59026
* gfortran.dg/elemental_by_value_1.f90 : New test
Added:
trunk/gcc/testsuite/gfortran.dg/elemental_by_value_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list