public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "aldot at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/26449]  New: ICE with -march=pentium4 in matmul_i4.c
Date: Thu, 23 Feb 2006 18:31:00 -0000	[thread overview]
Message-ID: <bug-26449-11811@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2006-02-23 18:31 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 18:31 aldot at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-26449-11811@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).