This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/7751: iconv.c:434: Internal compiler error in extract_insn,at recog.c:2148


[ I am thus forwarding a description by
  Steve Kargl <sgk@troutmask.apl.washington.edu>, 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]