2010-07-10 Paul Thomas <pault@gcc.gnu.org>
commite20c5d834d5edde630d46ea1e1bc5cb6f673f3bd
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Jul 2010 14:57:25 +0000 (10 14:57 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Jul 2010 14:57:25 +0000 (10 14:57 +0000)
tree80d52358390417552d8db01d6fc4df580bda732c
parent6ceec6682e040791da5afbd718ccf45feca5fd11
2010-07-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/44773
* trans-expr.c (arrayfunc_assign_needs_temporary): No temporary
if the lhs has never been host associated, as well as not being
use associated, a pointer or a target.
* resolve.c (resolve_variable): Mark variables that are host
associated.
* gfortran.h: Add the host_assoc bit to the symbol_attribute
structure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162038 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/resolve.c
gcc/fortran/trans-expr.c