[Bug fortran/33749] Wrong evaluation of expressions in lhs of assignment statements
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Oct 21 18:10:00 GMT 2007
------- Comment #6 from pault at gcc dot gnu dot org 2007-10-21 18:10 -------
Subject: Bug 33749
Author: pault
Date: Sun Oct 21 18:10:00 2007
New Revision: 129539
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129539
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/assign_9.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33749
More information about the Gcc-bugs
mailing list