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]

internal compiler error while compiling mmx code



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."

motion_comp_mmx.i.gz


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