http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523
Summary: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: rgue...@gcc.gnu.org CC: hubi...@gcc.gnu.org Target: i?86-*-linux kdevelop4 fails to build with ./cc1plus -quiet -m32 cppduchain.ii -O2 -std=c++0x /usr/src/packages/BUILD/kdevelop-4.1.0/languages/cpp/cppduchain/cppduchain.cpp:839:1: error: inlined_to pointer set for noninline callers /usr/src/packages/BUILD/kdevelop-4.1.0/languages/cpp/cppduchain/cppduchain.cpp:839:1: error: multiple inline callers virtual KDevelop::AbstractType::Ptr Cpp::shortenTypeForViewing(KDevelop::AbstractType::Ptr)::ShortenAliasExchanger::exchange(const Ptr&)/3542(2949) @0x7ffff1510b00 (asm: _ZZN3Cpp21shortenTypeForViewingE7TypePtrIN8KDevelop12AbstractTypeEEEN21ShortenAliasExchanger8exchangeERKS3_) (inline copy in KDevelop::AbstractType::Ptr Cpp::shortenTypeForViewing(KDevelop::AbstractType::Ptr)/3553) availability:local analyzed 162 time, 17 benefit (175 after inlining) 212 size, 11 benefit (270 after inlining) 36 bytes stack usage reachable body local finalized inlinable called by: virtual KDevelop::AbstractType::Ptr Cpp::shortenTypeForViewing(KDevelop::AbstractType::Ptr)::ShortenAliasExchanger::exchange(const Ptr&)/3542 (0.59 per call) (indirect_inlining) virtual KDevelop::AbstractType::Ptr Cpp::shortenTypeForViewing(KDevelop::AbstractType::Ptr)::ShortenAliasExchanger::_ZZN3Cpp21shortenTypeForViewingE7TypePtrIN8KDevelop12AbstractTypeEEEN21ShortenAliasExchanger8exchangeERKS3_.constprop.103(const Ptr&)/112 (0.59 per call) (inlined) (can throw external) calls: virtual KDevelop::AbstractType::Ptr Cpp::shortenTypeForViewing(KDevelop::AbstractType::Ptr)::ShortenAliasExchanger::exchange(const Ptr&)/3542 (indirect_inlining) (0.59 per call) TypePtr<T>::~TypePtr() [with T = KDevelop::AbstractType]/2383 TypePtr<T>::~TypePtr() [with T = KDevelop::TypeAliasType]/4390 TypePtr<T>::~TypePtr() [with T = KDevelop::AbstractType]/2383 QString::~QString()/537 QString::~QString()/537 QString::~QString()/537 QString::~QString()/537 TypePtr<T>::~TypePtr() [with T = KDevelop::AbstractType]/2383 TypePtr<T>::~TypePtr() [with T = KDevelop::AbstractType]/2383 (0.41 per call) (can throw external) TypePtr<T>::~TypePtr() [with T = KDevelop::TypeAliasType]/5307 (inlined) (0.41 per call) TypePtr<T>::~TypePtr() [with T = KDevelop::AbstractType]/2383 (0.17 per call) TypePtr<T>::~TypePtr() [with T = KDevelop::AbstractType]/2383 (0.17 per call) void KDevelop::AbstractType::setModifiers(quint64)/5473 (0.17 per call) quint64 KDevelop::AbstractType::modifiers() const/5425 (0.17 per call) quint64 KDevelop::AbstractType::modifiers() const/5425 (0.17 per call) QString::~QString()/4859 (inlined) (0.10 per call) QString::~QString()/4375 (inlined) (0.10 per call) QString::~QString()/4373 (inlined) (0.10 per call) QString::~QString()/4378 (inlined) (0.10 per call) int Cpp::reservedIdentifierCount(QString)/3541 (0.07 per call) int Cpp::reservedIdentifierCount(QString)/3541 (0.07 per call) int QString::count(QChar, Qt::CaseSensitivity) const/5472 (0.24 per call) QChar::QChar(char)/5471 (0.24 per call) int QString::count(QChar, Qt::CaseSensitivity) const/5472 (0.24 per call) QChar::QChar(char)/5471 (0.24 per call) TypePtr<T>::~TypePtr() [with T = KDevelop::AbstractType]/2383 (0.35 per call) KDevelop::AbstractType::Ptr KDevelop::TypeAliasType::type() const/5435 (0.35 per call) TypePtr<U> TypePtr<T>::cast(U*) const [with U = KDevelop::TypeAliasType, T = KDevelop::AbstractType]/141 (inlined) (0.41 per call) References: Refering this function: has 6 outgoing edges for indirect calls. /usr/src/packages/BUILD/kdevelop-4.1.0/languages/cpp/cppduchain/cppduchain.cpp:839:1: internal compiler error: verify_cgraph_node failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.