]> git.ipfire.org Git - thirdparty/gcc.git/commit
trans-expr.c (gfc_conv_procedure_call): Handle temporaries for arguments to elemental...
authorMikael Morin <mikael@gcc.gnu.org>
Fri, 4 Nov 2011 00:04:27 +0000 (00:04 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Fri, 4 Nov 2011 00:04:27 +0000 (00:04 +0000)
commitfafcf9e64bf502ca628d43f1531e7c39352fb9d0
tree1d0b5a5f72a77f5f5e42cc5384c58957b7098b71
parent121c82c9ac5c8af04d480de4b2449fbdb5e2beae
trans-expr.c (gfc_conv_procedure_call): Handle temporaries for arguments to elemental calls.

* trans-expr.c (gfc_conv_procedure_call): Handle temporaries for
arguments to elemental calls.
* trans-stmt.c (replace_ss): New function.
(gfc_conv_elemental_dependencies): Remove temporary loop handling.
Create a new ss for the temporary and replace the original one with it.
Remove fake array references. Recalculate all offsets.

From-SVN: r180906
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/fortran/trans-stmt.c