From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 901 invoked by alias); 21 Aug 2002 04:36: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 882 invoked by uid 71); 21 Aug 2002 04:36:01 -0000 Resent-Date: 21 Aug 2002 04:36:01 -0000 Resent-Message-ID: <20020821043601.881.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, giffordj@linkline.com Received: (qmail 29822 invoked by uid 61); 21 Aug 2002 04:28:04 -0000 Message-Id: <20020821042804.29821.qmail@sources.redhat.com> Date: Wed, 21 Aug 2002 00:54:00 -0000 From: giffordj@linkline.com Reply-To: giffordj@linkline.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/7673: extract_insn X-SW-Source: 2002-08/txt/msg00436.txt.bz2 List-Id: >Number: 7673 >Category: optimization >Synopsis: extract_insn >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Aug 20 21:36:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: giffordj@linline.com >Release: GCC 3.1.1 GCC 3.2 >Organization: >Environment: Linux 2.4.19 Athlon >Description: While compiling with -march=athlon -O2, the program ibiconv-1.8 I receive gcc -I. -I. -I../include -I./../include -O2 -march=athlon -fPIC -DPIC -DLIBICONV_PLUG ./iconv.c -x none ../libcharset/lib/localcharset.lo -shared -o libiconv_plug_linux.so 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 83) (const_int 128 [0x80])) -1 (nil) (nil)) gbkext1.h:852: Internal compiler error in extract_insn, at recog.c:2148 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[1]: *** [libiconv_plug_linux.so] Error 1 But if I do not compile with -O2 or -march=athlon it works fine. I have included the gbkext1.h file and a more detailed error message. I previously posted this as # 7449 >How-To-Repeat: Compile libiconv 1.8 with GCC 3.1.1 or GCC 3.2. >Fix: >Release-Note: >Audit-Trail: >Unformatted: