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]

gcc 3.2 bug with "-mmmx"


hades:~ # uname -a
Linux hades 2.4.16 #2 Sat Jun 8 19:11:54 CEST 2002 i686 unknown

hades:~ # gcc --version
gcc (GCC) 3.2

gcc 3.2 was configured/built with the following options (system compiler was
a previous gcc 3.2 build):

./configure --prefix=/usr --enable-shared --with-gnu-as --with-gnu-ld --enable-threads=posix --with-cpu=i686 --enable-nls --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++
CFLAGS=CXXFLAGS=LIBCFLAGS=LIBCXXFLAGS=BOOT_CFLAGS=-O3 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -fschedule-insns2 -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse -fgcse-lm -fgcse-sm -fdelete-null-pointer-checks -falign-loops -falign-jumps -falign-functions -mcpu=pentiumpro -march=pentiumpro -mmmx -minline-all-stringops

original source is from xfree86 4.2.0, file:
--------------------------------------------
xc/programs/Xserver/PEX5/ddpex/mi/level1/miPck1Prim.c

command line to trigger the bug and compiler output:
----------------------------------------------------
hades:~ # gcc -O3 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -fschedule-insns2 -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse -fgcse-lm -fgcse-sm -fdelete-null-pointer-checks -falign-loops -falign-jumps -falign-functions -mcpu=pentiumpro -march=pentiumpro -mmmx -minline-all-stringops -ansi -pedantic -Wall -Wpointer-arith -c miPck1Prim.i
miPck1Prim.c: In function `CheckFAreaPick1':
miPck1Prim.c:405: unable to find a register to spill in class `FLOAT_REGS'
miPck1Prim.c:405: this is the insn:
(insn 808 807 809 (set (subreg:SF (reg/v:DI 29 rmm0 [64]) 0)
        (float:SF (reg:HI 155))) 167 {floathisf2} (insn_list 805 (nil))
    (nil))
miPck1Prim.c:405: confused by earlier errors, bailing out

notes and attachment:
---------------------
if "-mmmx" is removed form above command line compilation succeeds.

Attachment: miPck1Prim.i.bz2
Description: Binary data

--
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH

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