This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26919] [4.1/4.2 regression] ICE in cgraph_estimate_size_after_inlining caused by boost::lambda
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2006 11:13:00 -0000
- Subject: [Bug tree-optimization/26919] [4.1/4.2 regression] ICE in cgraph_estimate_size_after_inlining caused by boost::lambda
- References: <bug-26919-1882@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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, int, int, int, int, int, int, int, int, int,
int, int, int, int, int, int, int, int, int, int) {}
};
void foo()
{
B b(A(), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
====================================================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26919