public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46523] New: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers
@ 2010-11-17 16:29 rguenth at gcc dot gnu.org
  2010-11-17 16:34 ` [Bug tree-optimization/46523] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-17 16:29 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org
                CC: hubicka@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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers
  2010-11-17 16:29 [Bug tree-optimization/46523] New: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers rguenth at gcc dot gnu.org
@ 2010-11-17 16:34 ` rguenth at gcc dot gnu.org
  2010-11-19  9:55 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-17 16:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-17 16:28:57 UTC ---
Reducing.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers
  2010-11-17 16:29 [Bug tree-optimization/46523] New: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers rguenth at gcc dot gnu.org
  2010-11-17 16:34 ` [Bug tree-optimization/46523] " rguenth at gcc dot gnu.org
@ 2010-11-19  9:55 ` rguenth at gcc dot gnu.org
  2011-01-03 20:05 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-19  9:55 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-19 09:47:19 UTC ---
Created attachment 22453
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22453
reduced testcase

autoreduced testcase.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers
  2010-11-17 16:29 [Bug tree-optimization/46523] New: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers rguenth at gcc dot gnu.org
  2010-11-17 16:34 ` [Bug tree-optimization/46523] " rguenth at gcc dot gnu.org
  2010-11-19  9:55 ` rguenth at gcc dot gnu.org
@ 2011-01-03 20:05 ` rguenth at gcc dot gnu.org
  2011-01-03 21:34 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-03 20:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking
           Priority|P3                          |P1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers
  2010-11-17 16:29 [Bug tree-optimization/46523] New: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers rguenth at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-01-03 20:05 ` rguenth at gcc dot gnu.org
@ 2011-01-03 21:34 ` hjl.tools at gmail dot com
  2011-01-03 21:42 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-03 21:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.01.03 21:34:08
     Ever Confirmed|0                           |1

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-03 21:34:08 UTC ---
ICE disappeared after revision 168271:

http://gcc.gnu.org/ml/gcc-cvs/2010-12/msg00956.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers
  2010-11-17 16:29 [Bug tree-optimization/46523] New: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers rguenth at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-01-03 21:34 ` hjl.tools at gmail dot com
@ 2011-01-03 21:42 ` hjl.tools at gmail dot com
  2011-01-04 10:35 ` jakub at gcc dot gnu.org
  2011-01-07 18:35 ` hubicka at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-03 21:42 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at redhat dot com

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-03 21:42:11 UTC ---
It is caused by revision 166167:

http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00053.html

I think it is a dup of PR 46626.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers
  2010-11-17 16:29 [Bug tree-optimization/46523] New: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers rguenth at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-01-03 21:42 ` hjl.tools at gmail dot com
@ 2011-01-04 10:35 ` jakub at gcc dot gnu.org
  2011-01-07 18:35 ` hubicka at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-04 10:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-04 10:35:17 UTC ---
PR46626 was a wrong-code bug, not ice-on-valid-code, with the bug in the
generated code may be wrong, but I don't see how it could cause cgraph
verification failures.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers
  2010-11-17 16:29 [Bug tree-optimization/46523] New: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers rguenth at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-01-04 10:35 ` jakub at gcc dot gnu.org
@ 2011-01-07 18:35 ` hubicka at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-07 18:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-07 18:32:06 UTC ---
It does not seem related to PR46626 but rather to some sort of cgraph
datastructure corruption. However it no longer reproduces, so I am closing the
PR.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-01-07 18:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-17 16:29 [Bug tree-optimization/46523] New: [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers rguenth at gcc dot gnu.org
2010-11-17 16:34 ` [Bug tree-optimization/46523] " rguenth at gcc dot gnu.org
2010-11-19  9:55 ` rguenth at gcc dot gnu.org
2011-01-03 20:05 ` rguenth at gcc dot gnu.org
2011-01-03 21:34 ` hjl.tools at gmail dot com
2011-01-03 21:42 ` hjl.tools at gmail dot com
2011-01-04 10:35 ` jakub at gcc dot gnu.org
2011-01-07 18:35 ` hubicka at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).