re PR fortran/59026 (ELEMENTAL procedure with VALUE arguments emits wrong code)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 9 Feb 2014 19:45:06 +0000 (19:45 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 9 Feb 2014 19:45:06 +0000 (19:45 +0000)
commit56c78e5c22f59741aba3aac3fa89452895be36bf
treebb0721638c4b44251517f88b2484f1ddd20eda41
parent5a47e4c519a94e176d66ca803b1ca82e9e8cefc4
re PR fortran/59026 (ELEMENTAL procedure with VALUE arguments emits wrong code)

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

From-SVN: r207645
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/elemental_by_value_1.f90 [new file with mode: 0644]