This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/28058] New: [4.1/4.2 regression] ICE in inline_forbidden_p
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jun 2006 13:06:42 -0000
- Subject: [Bug tree-optimization/28058] New: [4.1/4.2 regression] ICE in inline_forbidden_p
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
struct A {};
template <class T>
struct B : public T
{
B ();
};
B<A> *
foo ()
{
return new B<A>();
}
template <class T>
B<T>::B ()
{
}
template <>
B<A>::B ()
{
}
ICEs at -O3 i inline_forbidden_p:
1448 FOR_EACH_BB_FN (bb, DECL_STRUCT_FUNCTION (fndecl))
as fndecl (B ctor) doesn't have cfg set (DECL_STRUCT_FUNCTION (fndecl)->cfg ==
NULL).
--
Summary: [4.1/4.2 regression] ICE in inline_forbidden_p
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28058