2007-10-21 Paul Thomas <pault@gcc.gnu.org>
commitc94189f22a4c06098fb3a5bb7b24576491e9583f
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Oct 2007 18:10:00 +0000 (21 18:10 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Oct 2007 18:10:00 +0000 (21 18:10 +0000)
tree8163e6bfc15353c46b6961d460e5ee335728259e
parentd23eb8efa477284b4acde8a4e832f21c256c1311
2007-10-21  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33749
* resolve.c (resolve_ordinary_assign): New function that takes
the code to resolve an assignment from resolve_code. In
addition, it makes a temporary of any vector index, on the
lhs, using gfc_get_parentheses.
(resolve_code): On EXEC_ASSIGN call the new function.

2007-10-21  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33749
* gfortran.dg/assign_9.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129539 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/assign_9.f90 [new file with mode: 0644]