[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#451047: gcc-4.2: [hppa] ICE in reload_cse_simplify_operands, at postreload.c:392



Package: gcc-4.2
Version: 4.2.2-3
Severity: important

Hi,

mesa FTBFS on hppa with a gcc ice:
gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -ansi -pedantic -O2 -g -fPIC  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=32  -ffast-math -fno-strict-aliasing -fno-strict-aliasing -fno-strict-aliasing swrast/s_texfilter.c -o swrast/s_texfilter.o
In file included from ../../src/mesa/main/context.h:53,
                 from swrast/s_texfilter.c:27:
../../src/mesa/main/imports.h:707: warning: ISO C90 does not support 'long long'
swrast/s_texfilter.c: In function 'sample_lambda_2d':
swrast/s_texfilter.c:1420: error: insn does not satisfy its constraints:
(insn 3120 1305 2618 88 swrast/s_texfilter.c:166 (set (mem/c:HI (plus:SI (reg/f:SI 30 %r30)
                (const_int -410 [0xfffffe66])) [0 S2 A16])
        (reg:HI 74 %fr25)) 53 {*pa.md:3126} (nil)
    (nil))
swrast/s_texfilter.c:1420: internal compiler error: in reload_cse_simplify_operands, at postreload.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
make[4]: *** [swrast/s_texfilter.o] Error 1

I've reproduced the error, preprocessed source is
paer.debian.org:~jcristau/mesa-7.0.2/obj-hppa-linux-gnu/debian-osmesa16/src/mesa/swrast/s_texfilter.i
(not attached here because it's over 600k).

It builds fine with gcc-4.1, but not with gcc-snapshot 20070916-1.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: