insn with P4 (gcc-3.2.2) on xfree86 - mipmap.c

Andreas Jaeger aj@suse.de
Sun Mar 2 16:25:00 GMT 2003


Auke Kok <auke.kok@planet.nl> writes:

> cc: auke.kok<at>planet<dot>nl
>
> Hi,
>
> platform: lunar-linux.org (source distro), gcc-3.2.2, glibc-2.3.1 (look
> at distrowatch.com/source.php for more info)
>
> description:
>
> xfree86 mipmap.c gives gcc a hard time by breaking with a insn with p4
> optimizations. 
>
> Note that since gcc-3.2.2 I've seen more than one occasion where apps
> would still insn on compile, I believe kdeaddons-3.1 and mozilla 1.2b
> are also subject to this error. (more info needed: please cc me a note)

Please follow the instruction on http://gcc.gnu.org/bugs.html on
reporting a bug and send us a precompiled file using gccbug - making
it as small as possible will help to get this fixed sooner.

>
> make[4]: Entering directory `/usr/src/xc/lib/GLU/libutil'
> rm -f mipmap.o
> gcc -m32 -c -O3 -mcpu=pentium4 -march=pentium4 -mmmx -msse -msse2
> -mfpmath=sse,387  -s  -O3 -mcpu=pentium4 -march=pentium4 -mmmx -msse
> -msse2 -mfpmath=sse,387  -s  -I../include      -I../../../include     
> -I../../../include/GL  -I../../.. -I../../../exports/include
>  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
> -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  
> -DFUNCPROTO=15 -DNARROWPROTO   -DNDEBUG     -fPIC mipmap.c
> mipmap.c: In function `halve1Dimage_float':
> mipmap.c:1268: unable to find a register to spill in class `FLOAT_REGS'
> mipmap.c:1268: this is the insn:
> (insn 111 109 114 (set (subreg:SF (reg/v:DI 22 rxmm1 [73]) 0)
>         (float:SF (reg:DI 0 rax [89]))) 170 {*floatdisf2_i387_only}
> (insn_list 108 (nil))
>     (expr_list:REG_DEAD (reg:DI 0 rax [89])
>         (nil)))
> mipmap.c:1268: confused by earlier errors, bailing out
>
>
> sofar

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-bugs mailing list