[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2010-10-22 Thread jiez at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360 --- Comment #23 from Jie Zhang jiez at gcc dot gnu.org 2010-10-23 00:38:16 UTC --- Author: jiez Date: Sat Oct 23 00:38:13 2010 New Revision: 165880 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=165880 Log: PR rtl-optimization/37360

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2010-10-19 Thread jiez at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360 Jie Zhang jiez at gcc dot gnu.org changed: What|Removed |Added CC||jiez at gcc dot

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2010-10-19 Thread jiez at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360 --- Comment #21 from Jie Zhang jiez at gcc dot gnu.org 2010-10-19 16:58:58 UTC --- Another way to fix this bug: http://gcc.gnu.org/ml/gcc/2010-10/msg00281.html David, are you still interested to try this patch on sb1?

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2010-10-19 Thread daney at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360 --- Comment #22 from David Daney daney at gcc dot gnu.org 2010-10-19 17:38:32 UTC --- I no longer have access to an SB1. But you should be able to run the test case on a cross compiler to see how it is affected by any patch.

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-09 Thread abel at gcc dot gnu dot org
-- abel at gcc dot gnu dot org changed: What|Removed |Added CC|abel at ispras dot ru |abel at gcc dot gnu dot org AssignedTo|unassigned at gcc dot

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-09 Thread abel at gcc dot gnu dot org
--- Comment #18 from abel at gcc dot gnu dot org 2008-09-09 14:21 --- Subject: Bug 37360 Author: abel Date: Tue Sep 9 14:19:31 2008 New Revision: 140151 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140151 Log: PR rtl-optimization/37360 * haifa-sched.c

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-09 Thread abel at gcc dot gnu dot org
--- Comment #19 from abel at gcc dot gnu dot org 2008-09-09 14:35 --- Fixed in 140151. -- abel at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-08 Thread abel at ispras dot ru
--- Comment #17 from abel at ispras dot ru 2008-09-08 07:19 --- (In reply to comment #16) Could you explain why max_issue() should do anything when more_issue = 0? I'd have expected it to early-out. But the whole point of the patch is that we _can_ actually issue more insns even

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-06 Thread rsandifo at gcc dot gnu dot org
--- Comment #16 from rsandifo at gcc dot gnu dot org 2008-09-06 11:23 --- Could you explain why max_issue() should do anything when more_issue = 0? I'd have expected it to early-out. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-05 Thread abel at ispras dot ru
--- Comment #11 from abel at ispras dot ru 2008-09-05 09:16 --- I was unable to trigger the assert on the given testcase even with the cross-compiler configured exactly like the one in the bug report. However, I was able to reproduce the ICE on a longer plain C test case. The assert

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-05 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2008-09-05 09:37 --- I think it's reasonable to disable the assert with a comment for now and file a separate bugreport for the targets who lie about their issue rate. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-05 Thread abel at ispras dot ru
--- Comment #13 from abel at ispras dot ru 2008-09-05 10:32 --- (In reply to comment #12) I think it's reasonable to disable the assert with a comment for now and file a separate bugreport for the targets who lie about their issue rate. Ok, with the below patch my failing test case

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-05 Thread abel at ispras dot ru
--- Comment #14 from abel at ispras dot ru 2008-09-05 10:33 --- Created an attachment (id=16231) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16231action=view) Proposed patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-05 Thread daney at gcc dot gnu dot org
--- Comment #15 from daney at gcc dot gnu dot org 2008-09-05 18:29 --- Thanks for the patch. With the patch applied to the trunk my bootstrap has made it into stage 2, indicating that it has corrected the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-09-04 09:44 --- Andrey, this is likely due to the selective scheduler merge. Can you investigate or delegate? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread abel at ispras dot ru
--- Comment #2 from abel at ispras dot ru 2008-09-04 12:06 --- Andrey, this is likely due to the selective scheduler merge. Can you investigate or delegate? We couldn't reproduce this with a cross from x86_64. Also, Adam Nemet fixed the problem with MIPS/sel-sched bootstrap

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread abel at ispras dot ru
--- Comment #3 from abel at ispras dot ru 2008-09-04 14:34 --- This does not fail on a cross for us with 139918. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread daney at gcc dot gnu dot org
--- Comment #4 from daney at gcc dot gnu dot org 2008-09-04 14:49 --- You will note that I configured with --with-arch=sb1. This in turn causes cc1 to be invoked with -march=sb1 I will attempt to test with a cross build. My bootstrap gcc is: gcc (GCC) 4.4.0 20080223 (experimental)

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2008-09-04 14:58 --- I would suggest to try ira-merge branch to rule out any IRA related problems. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread daney at gcc dot gnu dot org
--- Comment #6 from daney at gcc dot gnu dot org 2008-09-04 16:12 --- I get the same ICE using gcc (Debian 4.3.1-8) 4.3.1 as the bootstrap compiler, so I am going with the theory that the bootstrap compiler is not the cause of this problem. --

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread daney at gcc dot gnu dot org
--- Comment #7 from daney at gcc dot gnu dot org 2008-09-04 17:17 --- The problem is present in 139918 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread daney at gcc dot gnu dot org
--- Comment #8 from daney at gcc dot gnu dot org 2008-09-04 17:39 --- It is reproducible in a cross compiler as well. This is my command line: /home/daney/gccsvn/mipsel-trunk/gcc/cc1 -fpreprocessed j.i -quiet -march=sb1 -O2 -o j.s Changing to -march={mips32,mips32r2,r5000} fixes the

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread daney at gcc dot gnu dot org
--- Comment #9 from daney at gcc dot gnu dot org 2008-09-04 22:48 --- (In reply to comment #2) Andrey, this is likely due to the selective scheduler merge. Can you investigate or delegate? We couldn't reproduce this with a cross from x86_64. Also, Adam Nemet fixed the problem

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-04 Thread hjl dot tools at gmail dot com
--- Comment #10 from hjl dot tools at gmail dot com 2008-09-05 02:21 --- This may be related to PR 37378 and PR 37377. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2008-09-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |