From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32676 invoked by alias); 11 May 2006 21:35:44 -0000 Received: (qmail 32649 invoked by uid 48); 11 May 2006 21:35:38 -0000 Date: Thu, 11 May 2006 21:35:00 -0000 Subject: [Bug target/27566] New: [4.1/4.2 Regression] ICEs in final_scan_insn and reload_cse_simplify_operands for vectors with SPE X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jsm28 at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg01162.txt.bz2 List-Id: Some GCC tests such as gcc.c-torture/execute/simd-5.c fail on powerpc-none-eabispe with an ICE in final_scan_insn (not optimizing) or reload_cse_simplify_operands (optimizing). This happens with trunk and 4.1 branch but not with 4.0 branch. Reduced testcase: typedef short Q __attribute__((vector_size(8))); Q a, b, c; void f (void) { c = a * b; } Non-optimizing: t.c: In function 'f': t.c:9: error: insn does not satisfy its constraints: (insn 45 74 75 (set (reg:V4HI 0 0 [158]) (mem/u/c/i:V4HI (lo_sum:SI (reg:SI 10 10) (symbol_ref/u:SI ("*.LC0") [flags 0x2])) [0 S8 A64])) 1059 {*movv4hi_internal} (nil) (nil)) t.c:9: internal compiler error: in final_scan_insn, at final.c:2379 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. With -O: t.c: In function 'f': t.c:9: error: insn does not satisfy its constraints: (insn 18 68 66 2 (set (reg:V4HI 0 0 [127]) (mem/u/c/i:V4HI (lo_sum:SI (reg:SI 6 6) (symbol_ref/u:SI ("*.LC0") [flags 0x82])) [0 S8 A64])) 1059 {*movv4hi_internal} (nil) (nil)) t.c:9: internal compiler error: in reload_cse_simplify_operands, at postreload.c:393 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. -- Summary: [4.1/4.2 Regression] ICEs in final_scan_insn and reload_cse_simplify_operands for vectors with SPE Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jsm28 at gcc dot gnu dot org GCC target triplet: powerpc*-*-*spe http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27566