From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1656 invoked by alias); 11 Sep 2002 09:16:04 -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 1641 invoked by uid 71); 11 Sep 2002 09:16:03 -0000 Date: Wed, 11 Sep 2002 02:16:00 -0000 Message-ID: <20020911091603.1640.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gerald Pfeifer Subject: Re: c/7751: iconv.c:434: Internal compiler error in extract_insn, at recog.c:2148 Reply-To: Gerald Pfeifer X-SW-Source: 2002-09/txt/msg00184.txt.bz2 List-Id: The following reply was made to PR c/7751; it has been noted by GNATS. From: Gerald Pfeifer To: gcc-gnats@gcc.gnu.org, , Cc: Subject: Re: c/7751: iconv.c:434: Internal compiler error in extract_insn, at recog.c:2148 Date: Wed, 11 Sep 2002 11:08:00 +0200 (CEST) [ I am thus forwarding a description by Steve Kargl , by permisson of Steve. ] My ICE [on FreeBSD-CURRENT] is: gcc -I. -I. -I../include -I./../include -I/usr/local/include \ -march=athlon -O -pipe -c ./iconv.c -fPIC -DPIC -o iconv.lo In file included from gbk.h:64, from converters.h:202, from iconv.c:67: gbkext1.h: In function `gbkext1_mbtowc': gbkext1.h:852: unrecognizable insn: (insn 157 155 159 (set (reg:QI 79) (const_int 128 [0x80])) -1 (nil) (nil)) gbkext1.h:852: Internal compiler error in extract_insn, at recog.c:2150 I've tried the following combinations of CFLAGS with libiconv 1.8. Hopefully, it helps isolate the problem. configure CFLAGS="-march=athlon -O0" <-- No ICE. configure CFLAGS="-march=athlon -O1" <-- ICE. configure CFLAGS="-march=athlon -O2" <-- ICE. configure CFLAGS="-O0" <-- No ICE. configure CFLAGS="-O1" <-- No ICE. configure CFLAGS="-O2" <-- No ICE. configure CFLAGS="-mcpu=athlon -O0" <-- No ICE. configure CFLAGS="-mcpu=athlon -O1" <-- No ICE. configure CFLAGS="-mcpu=athlon -O2" <-- No ICE. troutmask:kargl[264] gcc --version gcc (GCC) 3.2.1 [FreeBSD] 20020901 (prerelease) Copyright (C) 2002 Free Software Foundation, Inc. -- Steve