public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
       [not found] <bug-45572-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-04 10:15 ` jamborm at gcc dot gnu.org
  2010-11-03 16:30 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 11+ messages in thread
From: jamborm at gcc dot gnu.org @ 2010-10-04 10:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-10-04 10:15:16 UTC ---
Author: jamborm
Date: Mon Oct  4 10:15:10 2010
New Revision: 164930

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164930
Log:
2010-10-04  Martin Jambor  <mjambor@suse.cz>

    PR tree-optimization/45572
    * ipa-prop.c (ipa_make_edge_direct_to_target): Call
    ipa_check_create_node_params.
    * ipa-inline.c (add_new_edges_to_heap): Do not insert inlined edges.

    * testsuite/g++.dg/ipa/pr45572-1.C: New test.
    * testsuite/g++.dg/ipa/pr45572-2.C: Likewise.


Added:
    trunk/gcc/testsuite/g++.dg/ipa/pr45572-1.C
    trunk/gcc/testsuite/g++.dg/ipa/pr45572-2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-inline.c
    trunk/gcc/ipa-prop.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
       [not found] <bug-45572-4@http.gcc.gnu.org/bugzilla/>
  2010-10-04 10:15 ` [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions jamborm at gcc dot gnu.org
@ 2010-11-03 16:30 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 16:30 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 16:30:36 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 11+ 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: " 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; 11+ 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] 11+ 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: " 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; 11+ 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] 11+ 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: " 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; 11+ 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] 11+ 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: " 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; 11+ 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] 11+ 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: " 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; 11+ 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] 11+ 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: " 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; 11+ 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] 11+ 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: " 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; 11+ 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] 11+ 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: " 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; 11+ 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] 11+ 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: " 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; 11+ 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] 11+ messages in thread

end of thread, other threads:[~2010-11-03 16:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45572-4@http.gcc.gnu.org/bugzilla/>
2010-10-04 10:15 ` [Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions jamborm at gcc dot gnu.org
2010-11-03 16:30 ` rguenth at gcc dot gnu.org
2010-09-07  0:33 [Bug tree-optimization/45572] New: " 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
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
2010-09-21 17:19 ` jamborm at gcc dot gnu dot org
2010-09-22  9:52 ` jamborm at gcc dot gnu dot 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).