This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR4773 - [4.6 Regression] Unnecessary temporaries increase the runtime for channel.f90 by ~70%


On 07/09/2010 05:04 PM, Paul Richard Thomas wrote:
> Bootstrapped and regtested on RHEL5.3/i686 - OK for trunk and.....?
>   
I was wondering whether one should add a test case (-Warray-temporaries).

OK for the trunk - and for the branches, for which the array-temporary
fix has been applied to.

Tobias

> 2010-07-09  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.
>   


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]