A bug of gcc 3.0.1 with "-march=k6"

Francesco Abbate france.abbate@tiscalinet.it
Mon Oct 1 14:19:00 GMT 2001


Hello,

I've find a bug during the compilation of some programs with the option "-march=k6".
It happens with a mine own Objective C program and with a C++ program.

It is with GCC 3.0.1. The output of "gcc -v" is :
----------------------------------
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.0.1/specs
Configured with: ./configure --enable-threads=posix --disable-nls --enable-languages=c,c++,f77,objc --enable-objc-gc
Thread model: posix
gcc version 3.0.1
-----------------------------------
I've compiled GCC without any modification of the sources.

The output of gcc during the compilation is this:
-----------------------------------
gcc -pipe -O3 -ffast-math -fomit-frame-pointer -march=k6 -Wall -Wno-import -Wno-protocol -DGNU_SOURCE -DUSE_GC -I/home/francesco/sviluppo/openmath/tools -c ImplDFunction.m -o ImplDFunction.o
ImplDFunction.m: In function `compare_rules':
ImplDFunction.m:127: Unrecognizable insn:
(insn 338 187 339 (parallel[ 
            (set (reg:SI 3 ebx [84])
                (const_int 0 [0x0]))
            (clobber (reg:CC 17 flags))
        ] ) -1 (nil)
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (nil)))
ImplDFunction.m:127: Internal compiler error in extract_insn, at recog.c:2218
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
--------------------------------------

It's a real bug, isn't ? :-)

The bug doesn't happen if I omit the "-march=k6" option.
I send to you a preprocessed version of the file ImplDFunction.m .

If you want I can send to you a C++ prog where I get the same error.

Best regards,
-- 
Francesco Abbate
E-mail: france.abbate@tiscalinet.it | france77@users.sourceforge.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImplDFunction-preprocessed.m
Type: text/x-c
Size: 117123 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20011001/027a78d7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImplDFunction.m
Type: text/x-objective-c
Size: 7489 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20011001/027a78d7/attachment-0001.bin>


More information about the Gcc-bugs mailing list