Attached testcase fails to compile on branches/ibm/power7-meissner.

./xgcc -B ./ -v
Reading specs from ./specs
Target: powerpc64-redhat-linux
Configured with: ../configure --enable-shared --enable-threads=posix
--enable-checking=release --enable-languages=c --disable-bootstrap
--enable-secureplt --with-long-double-128 --with-cpu=default32
--build=powerpc64-redhat-linux --target=powerpc64-redhat-linux
Thread model: posix
gcc version 4.4.0 20090309 (experimental) (GCC) 

./cc1 -O2 -m64 -mminimal-toc images_selector.i -quiet
images_selector.c: In function ‘gc_selector_images_start’:
images_selector.c:331: error: unable to find a register to spill in class
‘LINK_OR_CTR_REGS’
images_selector.c:331: error: this is the insn:
(insn 255 131 132 3 images_selector.c:168 (set (subreg:DF (reg:DI 312) 0)
        (reg:DF 28 28 [209])) 347 {*movdf_hardfloat64} (expr_list:REG_EQUAL
(const_double:DF 0.0 [0x0.0p+0])
        (nil)))
images_selector.c:331: confused by earlier errors, bailing out

Works just fine on the trunk, on vanilla branches/redhat/gcc-4_4-branch works
too and with the power7-meissner branch backport ICEs again.


-- 
           Summary: [power7-meissner] unable to find a register to spill in
                    class 'LINK_OR_CTR_REGS'
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39457

Reply via email to