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

Bug#591766: g++-4.4: ICE at -O2 on powerpc in reload_cse_simplify_operands, at postreload.c:396



Package: g++-4.4
Version: 4.4.4-8
Severity: normal

When trying to compile crawl, I get:

mon-util.cc: In function 'void T.2560()':
mon-util.cc:4058: error: insn does not satisfy its constraints:
(insn 73759 16829 73760 6 mon-data.h:5626 (set (mem/s:DI (plus:SI (reg/f:SI 30 30 [2019])
                (const_int 32760 [0x7ff8])) [32 <variable>.bitfields+0 S8 A64])
        (reg:DI 11 11)) 353 {*movdi_internal32} (nil))
mon-util.cc:4058: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

This happened during two buildd attempts, and now I reproduced this in qemu
(I don't have a powerpc machine).

With -O0, it compiles just fine.  No other architecture has any problems compiling, either.

I attached the preprocessed file, to reproduce please "g++ -O2 mon-util.ii".

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages g++-4.4 depends on:
ii  gcc-4.4                   4.4.4-8        The GNU C compiler
ii  gcc-4.4-base              4.4.4-8        The GNU Compiler Collection (base 
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib
ii  libgmp3c2                 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii  libmpfr4                  3.0.0-2        multiple precision floating-point 
ii  libstdc++6-4.4-dev        4.4.4-8        The GNU Standard C++ Library v3 (d

g++-4.4 recommends no packages.

Versions of packages g++-4.4 suggests:
pn  g++-4.4-multilib              <none>     (no description available)
pn  gcc-4.4-doc                   <none>     (no description available)
pn  libstdc++6-4.4-dbg            <none>     (no description available)

-- no debconf information

Attachment: mon-util.ii.xz
Description: application/xz


Reply to: