From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30590 invoked by alias); 31 Mar 2010 13:45:28 -0000 Received: (qmail 30202 invoked by uid 48); 31 Mar 2010 13:45:03 -0000 Date: Wed, 31 Mar 2010 13:45:00 -0000 Subject: [Bug c/43603] New: gcc-4.4.3 ICE on ia64 with -O3 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mariah dot lenox at gmail dot com" 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-03/txt/msg03158.txt.bz2 /* % uname -a Linux cleo 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:57:09 EST 2009 ia64 ia64 ia64 GNU/Linux % % gcc -v Using built-in specs. Target: ia64-unknown-linux-gnu Configured with: /usr/local/gcc-4.4.3/src/gcc-4.4.3/configure --enable-languages=c,c++,fortran --with-gnu-as --with-as=/usr/local/binutils-2.20/ia64-Linux-rhel-gcc-4.4.2/bin/as --with-gnu-ld --with-ld=/usr/local/binutils-2.20/ia64-Linux-rhel-gcc-4.4.2/bin/ld --with-gmp=/usr/local/mpir-1.2.2/ia64-Linux-rhel-gcc-4.4.2 --with-mpfr=/usr/local/mpfr-2.4.2/ia64-Linux-rhel-mpir-1.2.2-gcc-4.4.2 --prefix=/usr/local/gcc-4.4.3/ia64-Linux-rhel Thread model: posix gcc version 4.4.3 (GCC) % % gcc -O2 -c foo.c % % gcc -O3 -c foo.c foo.c: In function ‘foo’: foo.c:35: error: unrecognizable insn: (insn:TI 222 209 248 19 (parallel [ (set (reg:SI 135 f7) (asm_operands:SI ("xma.hu %0 = %2, %3, f0 xma.l %1 = %2, %3, f0") ("=&f") 0 [ (reg:SI 136 f8) (reg:SI 130 f2 [394]) ] [ (asm_input:SI ("f") 0) (asm_input:SI ("f") 0) ] 2896)) (set (reg/v:SI 134 f6 [orig:370 b ] [370]) (asm_operands:SI ("xma.hu %0 = %2, %3, f0 xma.l %1 = %2, %3, f0") ("=f") 1 [ (reg:SI 136 f8) (reg:SI 130 f2 [394]) ] [ (asm_input:SI ("f") 0) (asm_input:SI ("f") 0) ] 2896)) ]) -1 (nil)) foo.c:35: internal compiler error: in get_attr_first_insn, at config/ia64/itanium2.md:1909 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. % */ int foo( long * np, int * dp, int qn) { int i; int n0; int d0; int a; int b; int c; int d; a = 1; b = 0; c = 1; d = 1; d0 = dp[0]; for (i = qn; i >= 0; i--) { if (bar((c == 0)) && (np[1] == d0)) { car(np - 3, dp, 3); } else { __asm__ ("xma.hu %0 = %2, %3, f0\n\txma.l %1 = %2, %3, f0" : "=&f" ((a)), "=f" (b) : "f" ((c)), "f" ((d))); n0 = np[0]; if (n0 < d0) c = 1; else c = 0; } *--np = a; } return 0; } -- Summary: gcc-4.4.3 ICE on ia64 with -O3 Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mariah dot lenox at gmail dot com GCC build triplet: ia64-unknown-linux-gnu GCC host triplet: ia64-unknown-linux-gnu GCC target triplet: ia64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43603