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
This commit is contained in:
parent
d070d4fd52
commit
ce21424d74
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -1,5 +1,6 @@
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user