Commit ce21424d by Mark Mitchell Committed by Mark Mitchell

re PR c++/16405 (Temporary aggregate copy not elided)

	PR c++/16405
	* gimplify.c (gimplify_modify_expr_rhs): Handle
	INDIRECT_REF/ADDR_EXPR combinations.

From-SVN: r92555
parent d070d4fd
2004-12-23 Mark Mitchell <mark@codesourcery.com>
PR c++/16405
* g++.dg/opt/temp1.C: Add do-run marker.
2004-12-23 Alexandre Oliva <aoliva@redhat.com>
* g++.dg/template/spec19.C: New.
......
// PR c++/16405
// { dg-options "-O2" }
// { dg-do run }
// There should be exactly one temporary generated for the code in "f"
// below when optimizing -- for the result of "b + c". We have no
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment