This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2010 00:39:28 -0000
- Subject: [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
- References: <bug-45572-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from zsojka at seznam dot cz 2010-09-07 00:39 -------
Created an attachment (id=21724)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21724&action=view)
semi-reduced testcase 3
$ gcc -finline-small-functions -findirect-inlining -finline-functions -O1
pr45572-3.C
pr45572-3.C:61:1: error: inlined_to pointer set for noninline callers
virtual _knumber* _knumfloat::add(const _knumber&) const/15(-1) @0x7f6fec4cdac0
(asm: _ZNK10_knumfloat3addERK8_knumber) (inline copy in virtual _knumber*
_knumfloat::add(const _knumber&) const/4) (clone of virtual _knumber*
_knumfloat::add(const _knumber&) const/4) availability:local analyzed 47 time,
16 benefit (48 after inlining) 28 size, 9 benefit (66 after inlining) 16 bytes
stack usage body local finalized inlinable
called by: virtual _knumber* _knumfloat::add(const _knumber&) const/10 (0.03
per call) (indirect_inlining) (can throw external)
calls: virtual _knumber::NumType _knumfloat::type() const/6
(indirect_inlining) (0.03 per call) (nested in 5 loops) (can throw external)
virtual _knumber* _knumfloat::add(const _knumber&) const/25 (inlined)
(indirect_inlining) (0.01 per call) (nested in 5 loops) (can throw external)
virtual _knumfloat::operator long int() const/3 (indirect_inlining) (0.02 per
call) (nested in 5 loops) (can throw external) virtual _knumber*
_knumfloat::add(const _knumber&) const/26 (inlined) (0.02 per call) (nested in
5 loops) (can throw external) _knumfloat::_knumfloat(double)/5 (0.02 per call)
(nested in 5 loops) (can throw external)
References:
Refering this function:
pr45572-3.C:61: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.
Tested revisions:
r163921 - crash
r161659 - crash
r161170 - OK
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572