Commit 992d907d by Richard Sandiford Committed by Richard Sandiford

* g++.dg/opt/placeholder1.C: New test.

From-SVN: r83427
parent 5c234cd7
2004-06-21 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/opt/placeholder1.C: New test.
2004-06-20 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/compat/struct-complex-1_x.c: Add dummy symbol.
......
// PR rtl-optimization/15159
// { dg-options "-O2" }
struct S { S (); };
struct P { P (S *); };
void foo (const P &);
void bar ()
{
P p = new S;
foo (p);
}
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