[PATCH] Fix middle-end/15054 (take 2)

Ulrich Weigand weigand@i1.informatik.uni-erlangen.de
Fri May 7 19:40:00 GMT 2004


Roger Sayle wrote:
> On Fri, 30 Apr 2004, Ulrich Weigand wrote:
> >
> > 	PR middle-end/15054
> > 	* expr.c (expand_expr_real): Do not call preserve_temp_slots
> > 	on a TARGET_EXPR temp.
> > 	* function.c (assign_stack_temp_for_type): Set 'keep' flag for
> > 	TARGET_EXPR temp slots.
> >
> > testsuite/ChangeLog:
> >
> > 	PR middle-end/15054
> > 	* g++.dg/opt/pr15054.C: New test.
> 
> As you and Mike both seem happy with this approach, this is OK for
> mainline.  If there are no problems on mainline after a few days,
> you should ask Mark and Gaby about backporting to the release
> branches.

Mark, Gaby, is this OK for 3.4.1 and 3.3.4 ?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de



More information about the Gcc-patches mailing list