public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/26449]  New: ICE with -march=pentium4 in matmul_i4.c
@ 2006-02-23 18:31 aldot at gcc dot gnu dot org
  2006-02-24 10:26 ` [Bug c/26449] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invaraint motion rguenth at gcc dot gnu dot org
                   ` (32 more replies)
  0 siblings, 33 replies; 34+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-02-23 18:31 UTC (permalink / raw)
  To: gcc-bugs

ICEs with -march=pentium4 -O1 -ftree-vectorize
compiles with -march=i686 -O1 -ftree-vectorize

../../../../src/gcc-4.2/libgfortran/generated/matmul_i4.c: In function
'matmul_i4':
../../../../src/gcc-4.2/libgfortran/generated/matmul_i4.c:274: internal
compiler error: Segmentation fault

backtrace:
(gdb) run -quiet -v -I. -I../../../../src/gcc-4.2/libgfortran -I.
-I../../../../src/gcc-4.2/libgfortran/../gcc
-I../../../../src/gcc-4.2/libgfortran/../gcc/config -I../.././gcc -iprefix
/scratch/obj/gcc-4.2/gcc/../lib/gcc/i686-linux-gnu/4.2.0/ -isystem
/scratch/obj/gcc-4.2/./gcc/include -DHAVE_CONFIG_H -D_GNU_SOURCE -DPIC -isystem
/opt/gcc-4.2//i686-linux-gnu/include -isystem
/opt/gcc-4.2//i686-linux-gnu/sys-include
-iquote../../../../src/gcc-4.2/libgfortran/io
../../../../src/gcc-4.2/libgfortran/generated/matmul_i4.c -quiet -dumpbase
matmul_i4.c -march=pentium4 -auxbase-strip .libs/matmul_i4.o -O1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite-strings -std=gnu99 -version -ftree-vectorize -fPIC -o /tmp/ccgnCLQw.s
Starting program: /scratch/obj/gcc-4.2/gcc/cc1 -quiet -v -I.
-I../../../../src/gcc-4.2/libgfortran -I.
-I../../../../src/gcc-4.2/libgfortran/../gcc
-I../../../../src/gcc-4.2/libgfortran/../gcc/config -I../.././gcc -iprefix
/scratch/obj/gcc-4.2/gcc/../lib/gcc/i686-linux-gnu/4.2.0/ -isystem
/scratch/obj/gcc-4.2/./gcc/include -DHAVE_CONFIG_H -D_GNU_SOURCE -DPIC -isystem
/opt/gcc-4.2//i686-linux-gnu/include -isystem
/opt/gcc-4.2//i686-linux-gnu/sys-include
-iquote../../../../src/gcc-4.2/libgfortran/io
../../../../src/gcc-4.2/libgfortran/generated/matmul_i4.c -quiet -dumpbase
matmul_i4.c -march=pentium4 -auxbase-strip .libs/matmul_i4.o -O1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite-strings -std=gnu99 -version -ftree-vectorize -fPIC -o /tmp/ccgnCLQw.s
ignoring nonexistent directory "/opt/gcc-4.2//i686-linux-gnu/include"
ignoring nonexistent directory "/opt/gcc-4.2//i686-linux-gnu/sys-include"
ignoring nonexistent directory
"/scratch/obj/gcc-4.2/gcc/../lib/gcc/i686-linux-gnu/4.2.0/include"
ignoring nonexistent directory
"/scratch/obj/gcc-4.2/gcc/../lib/gcc/i686-linux-gnu/4.2.0/../../../../i686-linux-gnu/include"
ignoring nonexistent directory
"/opt/gcc-4.2//lib/gcc/i686-linux-gnu/4.2.0/../../../../i686-linux-gnu/include"
ignoring duplicate directory "."
#include "..." search starts here:
 ../../../../src/gcc-4.2/libgfortran/io
#include <...> search starts here:
 .
 ../../../../src/gcc-4.2/libgfortran
 ../../../../src/gcc-4.2/libgfortran/../gcc
 ../../../../src/gcc-4.2/libgfortran/../gcc/config
 ../.././gcc
 /scratch/obj/gcc-4.2/./gcc/include
 /usr/local/include
 /opt/gcc-4.2//include
 /opt/gcc-4.2//lib/gcc/i686-linux-gnu/4.2.0/include
 /usr/include
End of search list.
GNU C version 4.2.0 20060223 (experimental) (i686-linux-gnu)
        compiled by GNU C version 4.2.0 20060223 (experimental).
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129565
Compiler executable checksum: a63b49e33c2474f6deba206c45b9f4c2

Program received signal SIGSEGV, Segmentation fault.
emit_move_insn (x=0xb7b0ad70, y=0x0) at ../../../src/gcc-4.2/gcc/expr.c:3176
3176      gcc_assert (mode != BLKmode
(gdb) bt
#0  emit_move_insn (x=0xb7b0ad70, y=0x0)
    at ../../../src/gcc-4.2/gcc/expr.c:3176
#1  0x0814a80c in move_invariant_reg (loop=0x858a650, invno=Variable "invno" is
not available.
)
    at ../../../src/gcc-4.2/gcc/loop-invariant.c:1164
#2  0x0814b529 in move_loop_invariants (loops=0x85ab780)
    at ../../../src/gcc-4.2/gcc/loop-invariant.c:1203
#3  0x0812b398 in rtl_move_loop_invariants ()
    at ../../../src/gcc-4.2/gcc/loop-init.c:252
#4  0x0832b847 in execute_one_pass (pass=0x84d4c60)
    at ../../../src/gcc-4.2/gcc/passes.c:862
#5  0x0832b9a5 in execute_pass_list (pass=0x84d4c60)
    at ../../../src/gcc-4.2/gcc/passes.c:909
#6  0x0832b9b8 in execute_pass_list (pass=0x84d4ba0)
    at ../../../src/gcc-4.2/gcc/passes.c:910
#7  0x0832b9b8 in execute_pass_list (pass=0x84d5f20)
    at ../../../src/gcc-4.2/gcc/passes.c:910
#8  0x080aaa44 in tree_rest_of_compilation (fndecl=0xb7c20080)
    at ../../../src/gcc-4.2/gcc/tree-optimize.c:412
#9  0x08052315 in c_expand_body (fndecl=0xb7c20080)
    at ../../../src/gcc-4.2/gcc/c-decl.c:6689
#10 0x0836a353 in cgraph_expand_function (node=0xb7c20200)
    at ../../../src/gcc-4.2/gcc/cgraphunit.c:1101
#11 0x0836ab4d in cgraph_optimize ()
    at ../../../src/gcc-4.2/gcc/cgraphunit.c:1166
#12 0x08057b78 in c_write_global_declarations ()
    at ../../../src/gcc-4.2/gcc/c-decl.c:7804
#13 0x0830f68e in toplev_main (argc=41, argv=0xbfc041d4)
    at ../../../src/gcc-4.2/gcc/toplev.c:1012
#14 0x0809b7ea in main (argc=Cannot access memory at address 0x0
) at ../../../src/gcc-4.2/gcc/main.c:35


-- 
           Summary: ICE with -march=pentium4 in matmul_i4.c
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aldot at gcc dot gnu dot org
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


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


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

* [Bug c/26449] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invaraint motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
@ 2006-02-24 10:26 ` rguenth at gcc dot gnu dot org
  2006-02-24 10:46 ` [Bug rtl-optimization/26449] " rguenth at gcc dot gnu dot org
                   ` (31 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-02-24 10:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-02-24 10:13 -------
Confirmed.  Trying to get a small testcase.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org
            Summary|ICE with -march=pentium4 in |ICE with -march=pentium4 -
                   |matmul_i4.c                 |ftree-vectorize in
                   |                            |matmul_i4.c in loop
                   |                            |invaraint motion


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


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

* [Bug rtl-optimization/26449] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invaraint motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
  2006-02-24 10:26 ` [Bug c/26449] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invaraint motion rguenth at gcc dot gnu dot org
@ 2006-02-24 10:46 ` rguenth at gcc dot gnu dot org
  2006-02-24 10:51 ` steven at gcc dot gnu dot org
                   ` (30 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-02-24 10:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2006-02-24 10:29 -------
Testcase: -O1 -ftree-vectorize -march=pentium4

void matmul_i4 (int bbase_yn, int xcount)
{
    int x;
    int * restrict dest_y;
    const int * abase_n;
    for (x = 0;  x < xcount;  x++)
      {
        dest_y[x] += abase_n[x] * bbase_yn; 
      }
}


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |rtl-optimization
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-24 10:29:02
               date|                            |


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


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

* [Bug rtl-optimization/26449] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invaraint motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
  2006-02-24 10:26 ` [Bug c/26449] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invaraint motion rguenth at gcc dot gnu dot org
  2006-02-24 10:46 ` [Bug rtl-optimization/26449] " rguenth at gcc dot gnu dot org
@ 2006-02-24 10:51 ` steven at gcc dot gnu dot org
  2006-02-24 18:14 ` [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion pinskia at gcc dot gnu dot org
                   ` (29 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-02-24 10:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from steven at gcc dot gnu dot org  2006-02-24 10:46 -------
"Don't worry, Jim.  I'm monitoring the situation.  I'm on top of things."


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |steven at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-02-24 10:29:02         |2006-02-24 10:46:37
               date|                            |


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-02-24 10:51 ` steven at gcc dot gnu dot org
@ 2006-02-24 18:14 ` pinskia at gcc dot gnu dot org
  2006-02-24 20:49 ` steven at gcc dot gnu dot org
                   ` (28 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-24 18:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
            Summary|ICE with -march=pentium4 -  |[4.2 Regression] ICE with -
                   |ftree-vectorize in          |march=pentium4 -ftree-
                   |matmul_i4.c in loop         |vectorize in matmul_i4.c in
                   |invariant motion            |loop invariant motion
   Target Milestone|---                         |4.2.0


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-02-24 18:14 ` [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion pinskia at gcc dot gnu dot org
@ 2006-02-24 20:49 ` steven at gcc dot gnu dot org
  2006-02-24 20:51 ` pinskia at gcc dot gnu dot org
                   ` (27 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-02-24 20:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from steven at gcc dot gnu dot org  2006-02-24 20:48 -------
I'm not sure how to fix this.  The debug trace here says it all: We try to
force something into an operand using an optab with a mode for which we have no
handler:

Starting program: /home/steven/devel/build-trunk/gcc/cc1 -m32 -std=c99 -O1
-ftree-vectorize -march=pentium4 t.c
 matmul_i4
Analyzing compilation unitPerforming intraprocedural optimizations
Assembling functions:
 matmul_i4
Breakpoint 3, move_invariant_reg (loop=0xd3f1d0, invno=0) at
loop-invariant.c:1162
1162              op = force_operand (SET_SRC (set), reg);
(gdb) p debug_rtx(inv->insn)
(insn 82 81 143 10 (set (subreg:TI (reg:V4SI 98) 0)
        (lshiftrt:TI (subreg:TI (reg:V4SI 71 [ vect_cst_.47 ]) 0)
            (const_int 32 [0x20]))) -1 (nil)
    (nil))
$36 = void
(gdb) p debug_rtx(set)
(set (subreg:TI (reg:V4SI 98) 0)
    (lshiftrt:TI (subreg:TI (reg:V4SI 71 [ vect_cst_.47 ]) 0)
        (const_int 32 [0x20])))
$37 = void
(gdb) step
force_operand (value=0x2aaaab009cc0, target=0x2aaaab00e500) at expr.c:5793
5793      rtx subtarget = get_subtarget (target);
(gdb) b 5888
Breakpoint 4 at 0x5ceb64: file expr.c, line 5888.
(gdb) cont
Continuing.

Breakpoint 4, force_operand (value=0x2aaaab009cc0, target=0x2aaaab00e500)
    at expr.c:5888
5888              return expand_simple_binop (GET_MODE (value), code, op1, op2,
(gdb) p debug_rtx(op1)
(subreg:TI (reg:V4SI 71 [ vect_cst_.47 ]) 0)
$38 = void
(gdb) p debug_rtx(op2)
(const_int 32 [0x20])
$39 = void
(gdb) p code
$40 = LSHIFTRT
(gdb) step
expand_simple_binop (mode=TImode, code=LSHIFTRT, op0=0x2aaaab009c80,
    op1=0x2aaaaadf5600, target=0x2aaaab00e500, unsignedp=1,
methods=OPTAB_LIB_WIDEN)
    at optabs.c:1154
1154      optab binop = code_to_optab[(int) code];
(gdb) next
1157      return expand_binop (mode, binop, op0, op1, target, unsignedp,
methods);
(gdb) p *binop
$41 = {code = LSHIFTRT, handlers = {{insn_code = CODE_FOR_nothing, libfunc =
0x0}, {
      insn_code = CODE_FOR_nothing, libfunc = 0x0}, {insn_code =
CODE_FOR_nothing,
      libfunc = 0x0}, {insn_code = CODE_FOR_nothing, libfunc = 0x0}, {
      insn_code = CODE_FOR_nothing, libfunc = 0x0}, {insn_code =
CODE_FOR_nothing,
      libfunc = 0x0}, {insn_code = CODE_FOR_nothing, libfunc = 0x0}, {
      insn_code = CODE_FOR_nothing, libfunc = 0x0}, {insn_code =
CODE_FOR_nothing,
      libfunc = 0x0}, {insn_code = CODE_FOR_nothing, libfunc = 0x0}, {
      insn_code = CODE_FOR_lshrqi3, libfunc = 0x0}, {insn_code =
CODE_FOR_lshrhi3,
      libfunc = 0x0}, {insn_code = CODE_FOR_lshrsi3, libfunc = 0x2aaaaaf88960},
{
      insn_code = CODE_FOR_lshrdi3, libfunc = 0x2aaaaaf889a0}, {
      insn_code = CODE_FOR_nothing, libfunc = 0x0} <repeats 23 times>, {
      insn_code = CODE_FOR_lshrv8hi3, libfunc = 0x0}, {insn_code =
CODE_FOR_lshrv4si3,
      libfunc = 0x0}, {insn_code = CODE_FOR_lshrv2di3, libfunc = 0x0}, {
      insn_code = CODE_FOR_nothing, libfunc = 0x0}, {insn_code =
CODE_FOR_nothing,
      libfunc = 0x0}, {insn_code = CODE_FOR_nothing, libfunc = 0x0}, {
      insn_code = CODE_FOR_nothing, libfunc = 0x0}, {insn_code =
CODE_FOR_nothing,
      libfunc = 0x0}, {insn_code = CODE_FOR_nothing, libfunc = 0x0}, {
      insn_code = CODE_FOR_nothing, libfunc = 0x0}, {insn_code =
CODE_FOR_nothing,
      libfunc = 0x0}, {insn_code = CODE_FOR_nothing, libfunc = 0x0}}}
(gdb)  


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.0                       |---


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-02-24 20:49 ` steven at gcc dot gnu dot org
@ 2006-02-24 20:51 ` pinskia at gcc dot gnu dot org
  2006-02-24 21:22 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
                   ` (26 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-24 20:51 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-02-24 20:51 ` pinskia at gcc dot gnu dot org
@ 2006-02-24 21:22 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
  2006-05-21 20:54 ` pinskia at gcc dot gnu dot org
                   ` (25 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: rakdver at atrey dot karlin dot mff dot cuni dot cz @ 2006-02-24 21:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rakdver at atrey dot karlin dot mff dot cuni dot cz  2006-02-24 21:17 -------
Subject: Re:  [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in
matmul_i4.c in loop invariant motion

> I'm not sure how to fix this.  The debug trace here says it all: We try to
> force something into an operand using an optab with a mode for which we have no
> handler:

I have considered several possibilities; by far the simplest seems to be
to either just fail in this case in move_invariant_reg, or try calling
emit_move_insn on the original SET_SRC (set) if force_operand returns
NULL (http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01009.html may be
useful in both cases).


-- 


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-02-24 21:22 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
@ 2006-05-21 20:54 ` pinskia at gcc dot gnu dot org
  2006-06-04 17:50 ` mmitchel at gcc dot gnu dot org
                   ` (24 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-21 20:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-05-21 20:53 -------
Any news on this one?


-- 


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-05-21 20:54 ` pinskia at gcc dot gnu dot org
@ 2006-06-04 17:50 ` mmitchel at gcc dot gnu dot org
  2006-06-04 18:00 ` steven at gcc dot gnu dot org
                   ` (23 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 17:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2006-06-04 17:50 ` mmitchel at gcc dot gnu dot org
@ 2006-06-04 18:00 ` steven at gcc dot gnu dot org
  2006-06-06 10:11 ` rakdver at gcc dot gnu dot org
                   ` (22 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-06-04 18:00 UTC (permalink / raw)
  To: gcc-bugs



-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|steven at gcc dot gnu dot   |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2006-06-04 18:00 ` steven at gcc dot gnu dot org
@ 2006-06-06 10:11 ` rakdver at gcc dot gnu dot org
  2006-06-06 18:03 ` rakdver at gcc dot gnu dot org
                   ` (21 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-06-06 10:11 UTC (permalink / raw)
  To: gcc-bugs



-- 

rakdver at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rakdver at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-02-24 10:46:37         |2006-06-06 09:59:39
               date|                            |


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2006-06-06 10:11 ` rakdver at gcc dot gnu dot org
@ 2006-06-06 18:03 ` rakdver at gcc dot gnu dot org
  2006-06-08  8:20 ` rakdver at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-06-06 18:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rakdver at gcc dot gnu dot org  2006-06-06 17:19 -------
Patch: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00313.html


-- 

rakdver at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2006-
                   |                            |06/msg00313.html
           Keywords|                            |patch


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2006-06-06 18:03 ` rakdver at gcc dot gnu dot org
@ 2006-06-08  8:20 ` rakdver at gcc dot gnu dot org
  2006-06-08 15:36 ` pinskia at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-06-08  8:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rakdver at gcc dot gnu dot org  2006-06-08 08:17 -------
Subject: Bug 26449

Author: rakdver
Date: Thu Jun  8 08:17:05 2006
New Revision: 114481

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114481
Log:
        PR rtl-optimization/26449
        * loop-invariant.c (move_invariant_reg): Fail if force_operand fails.

        * gcc.dg/pr26449.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/pr26449.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/loop-invariant.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2006-06-08  8:20 ` rakdver at gcc dot gnu dot org
@ 2006-06-08 15:36 ` pinskia at gcc dot gnu dot org
  2007-06-01  6:39 ` [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE " ubizjak at gmail dot com
                   ` (18 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-08 15:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-06-08 15:32 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2006-06-08 15:36 ` pinskia at gcc dot gnu dot org
@ 2007-06-01  6:39 ` ubizjak at gmail dot com
  2007-06-01  6:42 ` ubizjak at gmail dot com
                   ` (17 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-01  6:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from ubizjak at gmail dot com  2007-06-01 06:39 -------
Not fixed, please look for the same failure at PR32123.

          start_sequence ();
          op = force_operand (SET_SRC (set), reg);
+         if (!op)
+           {
+             end_sequence ();
+             goto fail;
+           }
          if (op != reg)

Also, this fix is wrong, force opereand will not return NULL, but will ICE if
value can't be expanded via optab.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
            Summary|[4.2 Regression] ICE with - |[4.2/4.3 Regression] ICE in
                   |march=pentium4 -ftree-      |loop invariant motion
                   |vectorize in matmul_i4.c in |
                   |loop invariant motion       |


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2007-06-01  6:42 ` ubizjak at gmail dot com
@ 2007-06-01  6:42 ` ubizjak at gmail dot com
  2007-06-01  7:30 ` ubizjak at gmail dot com
                   ` (15 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-01  6:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from ubizjak at gmail dot com  2007-06-01 06:42 -------
*** Bug 32123 has been marked as a duplicate of this bug. ***


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2007-06-01  6:39 ` [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE " ubizjak at gmail dot com
@ 2007-06-01  6:42 ` ubizjak at gmail dot com
  2007-06-01  6:42 ` ubizjak at gmail dot com
                   ` (16 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-01  6:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from ubizjak at gmail dot com  2007-06-01 06:42 -------
New test (from PR32123):

Standalone testcase, compile with -O2 -msse2 -mtune=k8:

--cut here--
typedef short __v8hi __attribute__ ((__vector_size__ (16)));
typedef long long __m128i __attribute__ ((__vector_size__ (16)));

void sse2_test (void)
{
  union
  {
    __m128i x;
  } val1, res[8], tmp;
  short ins[8] = { 8, 5, 9, 4, 2, 6, 1, 20 };
  int i;

  for (i = 0; i < 8; i++)
    {
      tmp.x = val1.x;
      if (memcmp (&tmp, &res[i], sizeof (tmp)))
        (__m128i) __builtin_ia32_vec_set_v8hi ((__v8hi) val1.x, ins[i], 0);
    }
}
--cut here--


-- 


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  2007-06-01  6:42 ` ubizjak at gmail dot com
@ 2007-06-01  7:30 ` ubizjak at gmail dot com
  2007-09-08 11:33 ` uros at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-01  7:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from ubizjak at gmail dot com  2007-06-01 07:29 -------
(In reply to comment #11)
> New test (from PR32123):
> 
> Standalone testcase, compile with -O2 -msse2 -mtune=k8:

Hm, this bug was misteriously fixed. It was manifested as
gcc.target/i386/sse2-vec-6.c failure in [1] and this failure is not present
anymore in [2]:

[1]: http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg01375.html
[2]: http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg01530.html

I'm closing it as WORKSFORME due to these misteries. The fix is IMO still
wrong.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WORKSFORME


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  2007-06-01  7:30 ` ubizjak at gmail dot com
@ 2007-09-08 11:33 ` uros at gcc dot gnu dot org
  2007-09-08 11:35 ` ubizjak at gmail dot com
                   ` (13 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: uros at gcc dot gnu dot org @ 2007-09-08 11:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from uros at gcc dot gnu dot org  2007-09-08 11:33 -------
Subject: Bug 26449

Author: uros
Date: Sat Sep  8 11:33:08 2007
New Revision: 128269

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128269
Log:
        PR target/33329
        PR target/26449
        * config/i386/sse.md (mulv4si3): Do not expand sse2 sequence.
        (*sse2_mulv4si3): New define_insn_and_split pattern. Split insn in
        split1 pass.
        (mulv16qi3): Implement as define_insn_and_split pattern instead of
        define_expand, to split insn in split1 pass.
        (mulv2di3): Ditto.

testsuite/ChangeLog:

        PR target/33329
        PR target/26449
        * gcc.target/i386/pr33329.c: New file.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr33329.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/sse.md
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  2007-09-08 11:33 ` uros at gcc dot gnu dot org
@ 2007-09-08 11:35 ` ubizjak at gmail dot com
  2007-09-08 11:48 ` uros at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2007-09-08 11:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from ubizjak at gmail dot com  2007-09-08 11:35 -------
Reopened. Ther is really no magic here.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (19 preceding siblings ...)
  2007-09-08 11:35 ` ubizjak at gmail dot com
@ 2007-09-08 11:48 ` uros at gcc dot gnu dot org
  2007-09-08 11:51 ` ubizjak at gmail dot com
                   ` (11 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: uros at gcc dot gnu dot org @ 2007-09-08 11:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from uros at gcc dot gnu dot org  2007-09-08 11:48 -------
Subject: Bug 26449

Author: uros
Date: Sat Sep  8 11:48:17 2007
New Revision: 128270

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128270
Log:
        PR rtl-optimization/26449
        * gcc.target/i386/pr26449-1.c: New file.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr26449-1.c
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (20 preceding siblings ...)
  2007-09-08 11:48 ` uros at gcc dot gnu dot org
@ 2007-09-08 11:51 ` ubizjak at gmail dot com
  2007-09-14  5:42 ` ubizjak at gmail dot com
                   ` (10 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2007-09-08 11:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from ubizjak at gmail dot com  2007-09-08 11:51 -------
The testcase from comment #11 was added to the testsuite, but let's keep this
PR resolved as WORKSFORME for now. Please note that force_operand() will still
ICE for optabs with no handler.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WORKSFORME


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (21 preceding siblings ...)
  2007-09-08 11:51 ` ubizjak at gmail dot com
@ 2007-09-14  5:42 ` ubizjak at gmail dot com
  2007-09-14  5:49 ` ubizjak at gmail dot com
                   ` (9 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2007-09-14  5:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from ubizjak at gmail dot com  2007-09-14 05:41 -------
*** Bug 33428 has been marked as a duplicate of this bug. ***


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |belyshev at depni dot sinp
                   |                            |dot msu dot ru


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (22 preceding siblings ...)
  2007-09-14  5:42 ` ubizjak at gmail dot com
@ 2007-09-14  5:49 ` ubizjak at gmail dot com
  2007-09-14 15:57 ` rakdver at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2007-09-14  5:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from ubizjak at gmail dot com  2007-09-14 05:49 -------
Zdenek, the fix in Comment #5 is wrong (please look at Comment #11 why), as
cofirmed by a couple of dupes. From PR 33428:

gcc.c-torture/execute/loop-15.c fails with -O1 -ftree-vectorize (x86_64):

loop-15.c: In function 'main':
loop-15.c:40: internal compiler error: in expand_simple_binop, at optabs.c:1306

#1  0x000000000072305f in expand_simple_binop (mode=V8SImode, code=VEC_CONCAT, 
    op0=0x2b48d59e1d80, op1=0x2b48d59e1e40, target=0x0, unsignedp=1, 
    methods=OPTAB_LIB_WIDEN) at /home/ssb/src/r/gcc43/gcc/optabs.c:1306

This bug blocks vectorization at -O3.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (23 preceding siblings ...)
  2007-09-14  5:49 ` ubizjak at gmail dot com
@ 2007-09-14 15:57 ` rakdver at gcc dot gnu dot org
  2007-09-17 15:39 ` rakdver at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-09-14 15:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from rakdver at gcc dot gnu dot org  2007-09-14 15:57 -------
(In reply to comment #19)
> Zdenek, the fix in Comment #5 is wrong (please look at Comment #11 why), as
> cofirmed by a couple of dupes. From PR 33428:

actually the fix in loop-invariant is correct for the original problem (where
expand_simple_binop fails and returns NULL_RTX).


-- 


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


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

* [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (24 preceding siblings ...)
  2007-09-14 15:57 ` rakdver at gcc dot gnu dot org
@ 2007-09-17 15:39 ` rakdver at gcc dot gnu dot org
  2007-09-17 16:44 ` [Bug rtl-optimization/26449] [4.2 " ubizjak at gmail dot com
                   ` (6 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-09-17 15:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from rakdver at gcc dot gnu dot org  2007-09-17 15:39 -------
Subject: Bug 26449

Author: rakdver
Date: Mon Sep 17 15:38:48 2007
New Revision: 128549

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128549
Log:
        PR rtl-optimization/26449
        * loop-invariant.c (move_invariant_reg): Do not use force_operand.
        (seq_insns_valid_p): Removed.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/loop-invariant.c


-- 


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (25 preceding siblings ...)
  2007-09-17 15:39 ` rakdver at gcc dot gnu dot org
@ 2007-09-17 16:44 ` ubizjak at gmail dot com
  2008-01-13 16:14 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2007-09-17 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from ubizjak at gmail dot com  2007-09-17 16:43 -------
Fixed in mainline, still (latent) present on 4.2.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.3.0
            Summary|[4.2/4.3 Regression] ICE in |[4.2 Regression] ICE in loop
                   |loop invariant motion       |invariant motion


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (26 preceding siblings ...)
  2007-09-17 16:44 ` [Bug rtl-optimization/26449] [4.2 " ubizjak at gmail dot com
@ 2008-01-13 16:14 ` rguenth at gcc dot gnu dot org
  2008-01-15  8:30 ` ubizjak at gmail dot com
                   ` (4 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-13 16:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from rguenth at gcc dot gnu dot org  2008-01-13 15:47 -------
This works for me on the branch.  Uros, what is exactly failing?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |WAITING
      Known to fail|                            |4.2.2
   Target Milestone|4.2.0                       |4.2.3


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (27 preceding siblings ...)
  2008-01-13 16:14 ` rguenth at gcc dot gnu dot org
@ 2008-01-15  8:30 ` ubizjak at gmail dot com
  2008-04-25  6:28 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2008-01-15  8:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #24 from ubizjak at gmail dot com  2008-01-15 06:46 -------
(In reply to comment #23)
> This works for me on the branch.  Uros, what is exactly failing?

The code that was removed from the mainline (Comment #21) is still present in
4.2 branch. According to comments #13, #15 and #17, this bug comes and goes,
and at this moment it looks that it is latent on the branch (at least all
testcases compile OK).

Let's pretend it is fixed as WORKSFORME.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (28 preceding siblings ...)
  2008-01-15  8:30 ` ubizjak at gmail dot com
@ 2008-04-25  6:28 ` ubizjak at gmail dot com
  2008-04-25  6:29 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2008-04-25  6:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from ubizjak at gmail dot com  2008-04-25 06:27 -------
*** Bug 36039 has been marked as a duplicate of this bug. ***


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnu at the-meissners dot org


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (29 preceding siblings ...)
  2008-04-25  6:28 ` ubizjak at gmail dot com
@ 2008-04-25  6:29 ` ubizjak at gmail dot com
  2008-07-04 16:41 ` jsm28 at gcc dot gnu dot org
  2009-03-30 15:50 ` jsm28 at gcc dot gnu dot org
  32 siblings, 0 replies; 34+ messages in thread
From: ubizjak at gmail dot com @ 2008-04-25  6:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from ubizjak at gmail dot com  2008-04-25 06:29 -------
Reopened.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (30 preceding siblings ...)
  2008-04-25  6:29 ` ubizjak at gmail dot com
@ 2008-07-04 16:41 ` jsm28 at gcc dot gnu dot org
  2009-03-30 15:50 ` jsm28 at gcc dot gnu dot org
  32 siblings, 0 replies; 34+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #27 from jsm28 at gcc dot gnu dot org  2008-07-04 16:40 -------
Open bugs should not have milestones of past releases.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.3                       |4.2.5


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


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

* [Bug rtl-optimization/26449] [4.2 Regression] ICE in loop invariant motion
  2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
                   ` (31 preceding siblings ...)
  2008-07-04 16:41 ` jsm28 at gcc dot gnu dot org
@ 2009-03-30 15:50 ` jsm28 at gcc dot gnu dot org
  32 siblings, 0 replies; 34+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-30 15:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #28 from jsm28 at gcc dot gnu dot org  2009-03-30 15:50 -------
Closing 4.2 branch, fixed in 4.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
      Known to fail|4.2.2                       |4.2.2 4.2.5
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.0


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


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

end of thread, other threads:[~2009-03-30 15:50 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-23 18:31 [Bug c/26449] New: ICE with -march=pentium4 in matmul_i4.c aldot at gcc dot gnu dot org
2006-02-24 10:26 ` [Bug c/26449] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invaraint motion rguenth at gcc dot gnu dot org
2006-02-24 10:46 ` [Bug rtl-optimization/26449] " rguenth at gcc dot gnu dot org
2006-02-24 10:51 ` steven at gcc dot gnu dot org
2006-02-24 18:14 ` [Bug rtl-optimization/26449] [4.2 Regression] ICE with -march=pentium4 -ftree-vectorize in matmul_i4.c in loop invariant motion pinskia at gcc dot gnu dot org
2006-02-24 20:49 ` steven at gcc dot gnu dot org
2006-02-24 20:51 ` pinskia at gcc dot gnu dot org
2006-02-24 21:22 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2006-05-21 20:54 ` pinskia at gcc dot gnu dot org
2006-06-04 17:50 ` mmitchel at gcc dot gnu dot org
2006-06-04 18:00 ` steven at gcc dot gnu dot org
2006-06-06 10:11 ` rakdver at gcc dot gnu dot org
2006-06-06 18:03 ` rakdver at gcc dot gnu dot org
2006-06-08  8:20 ` rakdver at gcc dot gnu dot org
2006-06-08 15:36 ` pinskia at gcc dot gnu dot org
2007-06-01  6:39 ` [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE " ubizjak at gmail dot com
2007-06-01  6:42 ` ubizjak at gmail dot com
2007-06-01  6:42 ` ubizjak at gmail dot com
2007-06-01  7:30 ` ubizjak at gmail dot com
2007-09-08 11:33 ` uros at gcc dot gnu dot org
2007-09-08 11:35 ` ubizjak at gmail dot com
2007-09-08 11:48 ` uros at gcc dot gnu dot org
2007-09-08 11:51 ` ubizjak at gmail dot com
2007-09-14  5:42 ` ubizjak at gmail dot com
2007-09-14  5:49 ` ubizjak at gmail dot com
2007-09-14 15:57 ` rakdver at gcc dot gnu dot org
2007-09-17 15:39 ` rakdver at gcc dot gnu dot org
2007-09-17 16:44 ` [Bug rtl-optimization/26449] [4.2 " ubizjak at gmail dot com
2008-01-13 16:14 ` rguenth at gcc dot gnu dot org
2008-01-15  8:30 ` ubizjak at gmail dot com
2008-04-25  6:28 ` ubizjak at gmail dot com
2008-04-25  6:29 ` ubizjak at gmail dot com
2008-07-04 16:41 ` jsm28 at gcc dot gnu dot org
2009-03-30 15:50 ` jsm28 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).