From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16056 invoked by alias); 30 May 2010 13:37:03 -0000 Received: (qmail 16020 invoked by uid 48); 30 May 2010 13:36:50 -0000 Date: Sun, 30 May 2010 13:37:00 -0000 Subject: [Bug target/44332] New: ICE: in copy_to_mode_reg, at explow.c:623 with -mno-sse2 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zsojka at seznam dot cz" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg03266.txt.bz2 Compiler output: $ gcc -mno-sse2 testcase.c testcase.c: In function 'foo': testcase.c:6:6: internal compiler error: in copy_to_mode_reg, at explow.c:635 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Tested revisions: r160048 - crash r153685 - crash 4.4 r158133 - crash ----- testcase.c ----- typedef __attribute__((vector_size(16))) char type; extern void bar(type); void foo(type x) { bar(x); } ---------------------- A bit different testcase gives: $ gcc -mno-sse2 testcase2.c testcase2.c: In function 'foo': testcase2.c:4:29: internal compiler error: in emit_move_insn, at expr.c:3428 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. ----- testcase2.c ----- typedef __attribute__((vector_size(16))) char type; extern void bar(type); void foo(void) { type x; bar(x); } ----------------------- -- Summary: ICE: in copy_to_mode_reg, at explow.c:623 with -mno-sse2 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44332