* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
2010-09-07 0:33 [Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions zsojka at seznam dot cz
@ 2010-09-07 0:35 ` zsojka at seznam dot cz
2010-09-07 0:37 ` zsojka at seznam dot cz
` (7 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: zsojka at seznam dot cz @ 2010-09-07 0:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zsojka at seznam dot cz 2010-09-07 00:35 -------
Created an attachment (id=21722)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21722&action=view)
semi-reduced testcase 1
$ gcc -finline-small-functions -findirect-inlining -finline-functions -O1
pr45572-1.C
pr45572-1.C:42:1: internal compiler error: in cgraph_mark_inline_edge, at
ipa-inline.c:332
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
2010-09-07 0:33 [Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions zsojka at seznam dot cz
2010-09-07 0:35 ` [Bug tree-optimization/45572] " zsojka at seznam dot cz
@ 2010-09-07 0:37 ` zsojka at seznam dot cz
2010-09-07 0:39 ` zsojka at seznam dot cz
` (6 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: zsojka at seznam dot cz @ 2010-09-07 0:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from zsojka at seznam dot cz 2010-09-07 00:37 -------
Created an attachment (id=21723)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21723&action=view)
semi-reduced testcase 2
$ gcc -finline-small-functions -findirect-inlining -finline-functions -O1
pr45572-2.C
pr45572-2.C:37:1: internal compiler error: vector VEC(ipa_node_params_t,base)
index domain error, in ipa_make_edge_direct_to_target at ipa-prop.c:1463
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r163921 - crash
r159696 - crash
r158969 - OK
4.5 r163761 - OK
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
2010-09-07 0:33 [Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions zsojka at seznam dot cz
2010-09-07 0:35 ` [Bug tree-optimization/45572] " zsojka at seznam dot cz
2010-09-07 0:37 ` zsojka at seznam dot cz
@ 2010-09-07 0:39 ` zsojka at seznam dot cz
2010-09-07 8:40 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: zsojka at seznam dot cz @ 2010-09-07 0:39 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
2010-09-07 0:33 [Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-09-07 0:39 ` zsojka at seznam dot cz
@ 2010-09-07 8:40 ` rguenth at gcc dot gnu dot org
2010-09-20 18:51 ` jamborm at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-07 8:40 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu dot
| |org, hubicka at gcc dot gnu
| |dot org
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
2010-09-07 0:33 [Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-09-07 8:40 ` rguenth at gcc dot gnu dot org
@ 2010-09-20 18:51 ` jamborm at gcc dot gnu dot org
2010-09-21 13:51 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-09-20 18:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jamborm at gcc dot gnu dot org 2010-09-20 18:51 -------
Mine
--
jamborm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jamborm at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-09-20 18:51:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
2010-09-07 0:33 [Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-09-20 18:51 ` jamborm at gcc dot gnu dot org
@ 2010-09-21 13:51 ` rguenth at gcc dot gnu dot org
2010-09-21 17:14 ` jamborm at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-21 13:51 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
2010-09-07 0:33 [Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions zsojka at seznam dot cz
` (5 preceding siblings ...)
2010-09-21 13:51 ` rguenth at gcc dot gnu dot org
@ 2010-09-21 17:14 ` jamborm at gcc dot gnu dot org
2010-09-21 17:19 ` jamborm at gcc dot gnu dot org
2010-09-22 9:52 ` jamborm at gcc dot gnu dot org
8 siblings, 0 replies; 12+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-09-21 17:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jamborm at gcc dot gnu dot org 2010-09-21 17:14 -------
*** Bug 45563 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
2010-09-07 0:33 [Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions zsojka at seznam dot cz
` (6 preceding siblings ...)
2010-09-21 17:14 ` jamborm at gcc dot gnu dot org
@ 2010-09-21 17:19 ` jamborm at gcc dot gnu dot org
2010-09-22 9:52 ` jamborm at gcc dot gnu dot org
8 siblings, 0 replies; 12+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-09-21 17:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jamborm at gcc dot gnu dot org 2010-09-21 17:19 -------
Created an attachment (id=21859)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21859&action=view)
Proposed fix.
I'm testing this fix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
2010-09-07 0:33 [Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions zsojka at seznam dot cz
` (7 preceding siblings ...)
2010-09-21 17:19 ` jamborm at gcc dot gnu dot org
@ 2010-09-22 9:52 ` jamborm at gcc dot gnu dot org
8 siblings, 0 replies; 12+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-09-22 9:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jamborm at gcc dot gnu dot org 2010-09-22 09:52 -------
Patch submitted to mailing list:
http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01761.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572
^ permalink raw reply [flat|nested] 12+ messages in thread