--- Comment #8 from rguenth at gcc dot gnu dot org 2006-03-30 09:01 ---
It looks like we got a mismatch between the fndecls number of arguments and the
call site number of arguments, so we calculate the wrong saving of instruction
numbers.
--
rguenth at gcc dot gnu dot org changed:
--- Comment #9 from reichelt at gcc dot gnu dot org 2006-03-30 11:13
---
Even shorter testcase:
If I remove an argument of the constructor, the code compiles fine.
struct A
{
A() {}
};
struct B
{
A a;
B(A,
--- Comment #5 from reichelt at gcc dot gnu dot org 2006-03-29 19:37
---
Confirmed.
The testcase still involves long template parameter lists, but that seems
to be part of the problem: I removed some of them, but then the testcase
compiles.
--
reichelt at gcc dot gnu dot org
--- Comment #6 from reichelt at gcc dot gnu dot org 2006-03-29 19:38
---
Created an attachment (id=11157)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11157action=view)
Reduced testcase
Reduced testcase.
--
reichelt at gcc dot gnu dot org changed:
What
--- Comment #7 from reichelt at gcc dot gnu dot org 2006-03-29 19:39
---
Btw, the testcase crashes when compiles with g++ -O:
PR26919.cc:119: internal compiler error: in
cgraph_estimate_size_after_inlining, at ipa-inline.c:106
Please submit a full bug report, [etc.]
--