[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-06 Thread jakub at gcc dot gnu dot org
--- Comment #19 from jakub at gcc dot gnu dot org 2009-01-06 20:44 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-06 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2009-01-06 20:42 --- Subject: Bug 38722 Author: jakub Date: Tue Jan 6 20:41:52 2009 New Revision: 143132 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143132 Log: PR rtl-optimization/38722 * combine.c (try_combi

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2009-01-05 13:11 --- Slightly more reduced: ! PR rtl-optimization/38722 ! { dg-do compile } ! { dg-options "-O1" } SUBROUTINE foo(x, n, ga, gc, vr) TYPE pt DOUBLE PRECISION, DIMENSION (:, :, :), POINTER :: cr END TYPE pt TYPE pu

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added GCC target triplet||x86_64-*-* Priority|P3 |P2 http:

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-05 Thread tkoenig at gcc dot gnu dot org
--- Comment #16 from tkoenig at gcc dot gnu dot org 2009-01-05 11:08 --- Reduced test case - works on i686-pc-linux-gnu for all optimization levels - works with -m32 on x86-64-unknown-linux-gnu - works with 4.3.2 -- tkoenig at gcc dot gnu dot org changed: What|Rem

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-04 Thread jv244 at cam dot ac dot uk
--- Comment #15 from jv244 at cam dot ac dot uk 2009-01-05 05:55 --- Created an attachment (id=17032) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17032&action=view) testcase without module dependencies based on Steven's testcase > gfortran -c -O1 reduced.f90 reduced.f90: In fun

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-04 Thread steven at gcc dot gnu dot org
--- Comment #14 from steven at gcc dot gnu dot org 2009-01-04 21:39 --- Leaving this to an RTL expert. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-04 Thread steven at gcc dot gnu dot org
--- Comment #13 from steven at gcc dot gnu dot org 2009-01-04 21:38 --- My patch is wrong. The changes are reverted by undo_all() later on. However, the bug still is in combine.c. It should not leave insns with the wrong INSN_CODE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-04 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2009-01-04 21:07 --- This fixes it for me. However, I'm no RTL expert, and especially combine I know nothing about :-) I'll test/post this and see how the RTL guru's judge it. * combine.c (try_combine): Adjust INSN_CODE after

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-04 Thread steven at gcc dot gnu dot org
--- Comment #11 from steven at gcc dot gnu dot org 2009-01-04 20:02 --- Note that this test case ICEs in IRA, but I've checked that it ICEs on the same insn, and in both cases we're looking at incorrect recog_data. $ gdb --args ../f951.exe -O t.f90 GNU gdb 6.8.0.20080328-cvs (cygwin-sp

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-04 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-01-04 19:51 --- Created an attachment (id=17031) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17031&action=view) Failing test case (still needs all the .mod files) This is as far as I can reduce it with delta. Joost, could

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-04 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2009-01-04 18:45 --- Thanks HJ for looking into this. I think revision 143027 is not the cause, it's more likely that it uncovers a latent bug. I'm trying to reduce Joost's code to a small test case. So far, what I'm seeing is that INS

[Bug rtl-optimization/38722] [4.4 Regression] Revision 143027 causes ICE in find_decomposable_subregs

2009-01-04 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2009-01-04 18:21 --- Revision 143027 is the cause. -- hjl dot tools at gmail dot com changed: What|Removed |Added