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] Fix pessimization with volatile objects


On Tue, 31 Aug 2010, Eric Botcazou wrote:

> Hi Richard,
> 
> last January you applied a fix for an issue related to volatile objects:
> 
> 2010-01-31  Richard Guenther  <rguenther@suse.de>
> 
> 	PR middle-end/42898
> 	* gimplify.c (gimplify_init_constructor): For volatile LHS
> 	initialize a temporary.
> 
> on all branches.  Unfortunately this pessimizes a relatively common case in 
> Ada, namely the assignment from a constructor with only one element.  May I 
> apply the attached patch on all branches as well (after testing)?

Yes.

Thanks,
Richard.


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