[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-08-05 Thread hjl at gcc dot gnu dot org
--- Comment #14 from hjl at gcc dot gnu dot org 2009-08-05 14:45 --- Subject: Bug 40570 Author: hjl Date: Wed Aug 5 14:45:15 2009 New Revision: 150487 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150487 Log: 2009-07-28 H.J. Lu Backport from mainline: 2009-

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-07-30 Thread jamborm at gcc dot gnu dot org
--- Comment #13 from jamborm at gcc dot gnu dot org 2009-07-30 16:43 --- Fixed. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-07-30 Thread jamborm at gcc dot gnu dot org
--- Comment #12 from jamborm at gcc dot gnu dot org 2009-07-30 16:26 --- Subject: Bug 40570 Author: jamborm Date: Thu Jul 30 16:26:09 2009 New Revision: 150263 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150263 Log: 2009-07-30 Martin Jambor PR tree-optimization/4

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-07-29 Thread jamborm at gcc dot gnu dot org
--- Comment #11 from jamborm at gcc dot gnu dot org 2009-07-29 13:40 --- (In reply to comment #8) > That only detects direct loops, does it? Actually, now I may understand but no, it is exactly the other way round. The patch above only detects indirect loops, when there are at le

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-07-29 Thread jamborm at gcc dot gnu dot org
--- Comment #10 from jamborm at gcc dot gnu dot org 2009-07-29 10:33 --- Bootstrap and testing finished fine, I submitted the patch: http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01642.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40570

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-07-29 Thread jamborm at gcc dot gnu dot org
--- Comment #9 from jamborm at gcc dot gnu dot org 2009-07-29 09:51 --- (In reply to comment #8) > > --- Comment #7 from jamborm at gcc dot gnu dot org 2009-07-28 20:59 > > --- > > So, I belive the patch below fixes this issue and I am going to > > bootstrap it overnight. Hon

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-07-29 Thread rguenther at suse dot de
--- Comment #8 from rguenther at suse dot de 2009-07-29 08:09 --- Subject: Re: [4.5 Regression] ICE with recursion at -O3 On Tue, 28 Jul 2009, jamborm at gcc dot gnu dot org wrote: > --- Comment #7 from jamborm at gcc dot gnu dot org 2009-07-28 20:59 > --- > Ha, please disr

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-07-28 Thread jamborm at gcc dot gnu dot org
--- Comment #7 from jamborm at gcc dot gnu dot org 2009-07-28 20:59 --- Ha, please disregard the previous message, obviously I had to make a fool out of myself before realizing that loops in the inlining plan are the bug, not how we handle them. The reason there are such loops is that i

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-07-28 Thread jamborm at gcc dot gnu dot org
--- Comment #6 from jamborm at gcc dot gnu dot org 2009-07-28 20:14 --- When I move "e->inline_failed = CIF_OK" in cgraph_mark_inline_edge() until after call to cgraph_clone_inlined_nodes(), the endless recursion goes away. However, I now get an assert in cgraph_estimate_size_after_inli

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-07-09 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40570

[Bug tree-optimization/40570] [4.5 Regression] ICE with recursion at -O3

2009-06-29 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2009-06-30 01:59 --- Confirmed. Reduced testcase that goes into infinite loop: = static int foo(int i); static int bar(int i) { foo(i); } static int foo(int i) { int j; if (j) FOO(j);