From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21251 invoked by alias); 2 Aug 2002 23:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 21213 invoked by uid 71); 2 Aug 2002 23:06:01 -0000 Date: Fri, 02 Aug 2002 16:06:00 -0000 Message-ID: <20020802230601.21212.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Kevin Ryde Subject: Re: optimization/6162: gcc 3.0.4: certain i386 asm reloader ice Reply-To: Kevin Ryde X-SW-Source: 2002-08/txt/msg00042.txt.bz2 List-Id: The following reply was made to PR optimization/6162; it has been noted by GNATS. From: Kevin Ryde To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: optimization/6162: gcc 3.0.4: certain i386 asm reloader ice Date: Sat, 03 Aug 2002 08:57:10 +1000 --=-=-= I struck another reloader ice, which to my untrained eye looks the same as the one in this bug I submitted before, but with the advantage of happening on a much smaller and simpler input. --=-=-= Content-Type: text/x-csrc Content-Disposition: attachment; filename=bar.c void foo (unsigned *wp, unsigned *xp, unsigned *yp, long size) { unsigned w3, w2, w1, w0, hi, z; __asm__ ("mull %3" : "=a" (w2), "=d" (w3) : "%0" (xp[1]), "rm" (yp[1])); __asm__ ("mull %3" : "=a" (w1), "=d" (hi) : "%0" (xp[0]), "rm" (yp[1])); __asm__ ("addl %5,%1\n" "adcl %3,%0" : "=r" (z), "=&r" (w0) : "%0" (w2), "g" (hi), "%1" (w1), "g" (0)); w3 += (z < w2); wp[2] = z; wp[3] = w3; } --=-=-= Content-Disposition: attachment; filename=bar.out gcc-3.1 -O -c bar.c bar.c: In function `foo': bar.c:26: unrecognizable insn: (insn 25 23 27 (parallel[ (set (reg/v:SI 1 edx [67]) (asm_operands:SI ("addl %5,%1 adcl %3,%0") ("=r") 0[ (reg/v:SI 2 ecx [63]) (reg/v:SI 1 edx [66]) (reg/v:SI 0 eax [64]) (const_int 0 [0x0]) ] [ (asm_input:SI ("%0")) (asm_input:SI ("g")) (asm_input:SI ("%1")) (asm_input:SI ("g")) ] ("bar.c") 14)) (set (reg/v:SI 0 eax [65]) (asm_operands:SI ("addl %5,%1 adcl %3,%0") ("=&r") 1[ (reg/v:SI 2 ecx [63]) (reg/v:SI 1 edx [66]) (reg/v:SI 0 eax [64]) (const_int 0 [0x0]) ] [ (asm_input:SI ("%0")) (asm_input:SI ("g")) (asm_input:SI ("%1")) (asm_input:SI ("g")) ] ("bar.c") 14)) (clobber (reg:QI 19 dirflag)) (clobber (reg:QI 18 fpsr)) (clobber (reg:QI 17 flags)) ] ) -1 (insn_list 19 (insn_list 23 (insn_list 23 (nil)))) (nil)) bar.c:26: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8369 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. m: *** [bar.o] Error 1 --=-=-=--