internal compiler error while compiling mmx code

Michel LESPINASSE walken@windriver.com
Thu May 4 15:45:00 GMT 2000


Hi,

I got an error while compiling mmx code with gcc 2.95.2 on a linux
system ...


0:45 [walken:pts/6] Everest:.../mpeg/mpeg2dec/libmpeg2% gcc --version
2.95.2

0:45 [walken:pts/6] Everest:.../mpeg/mpeg2dec/libmpeg2% gcc -v       
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000313 (Debian GNU/Linux)

0:45 [walken:pts/6] Everest:.../mpeg/mpeg2dec/libmpeg2% uname -a
Linux Everest 2.2.15 #1 Thu May 4 20:54:40 CEST 2000 i686 unknown

0:50 [walken:pts/6] Everest:.../mpeg/mpeg2dec/libmpeg2% gcc
-DHAVE_CONFIG_H -I. -I. -I.. -g -O3 -Wall -Werror -march=pentiumpro
-Wp,-MD,.deps/motion_comp_mmx.pp -c  -fPIC -DPIC motion_comp_mmx.c -o
motion_comp_mmx.lo 
motion_comp_mmx.c: In function `mc_put_16_x':
motion_comp_mmx.c:368: Internal compiler error in `output_pic_addr_const',
at config/i386/i386.c:2956
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

The corresponding .i file is sent as an attachment.

Also, this bug does not happen if I dont use the -fPIC option.

Is there another easy workaround for this problem ?

Thanks,

-- 
Michel "Walken" LESPINASSE - Development Engineer at Wind River Systems
"We've all heard that a million monkeys banging on a million typewriters
 will eventually reproduce the entire works of Shakespeare.
 Now, thanks to the Internet, we know this is not true."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: motion_comp_mmx.i.gz
Type: application/x-gzip
Size: 13422 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000504/31e9a476/attachment.bin>


More information about the Gcc-bugs mailing list