------- Comment #10 from rguenth at gcc dot gnu dot org 2006-04-05 13:01 ------- Reduced testcase, compile with --param inline-call-cost=0
struct A { A() {} }; struct B { A a; B(A, int) {} }; void foo() { B b(A(), 0); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26919