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]

optimization/7673: extract_insn


>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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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:


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