This is the mail archive of the gcc-patches@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]

Re: [lra] a patch to fix ppc bootstrap failure


This is the file that causes the boostrap to fail if --enable-decimal-float is
used as a configuration option on the LRA branch.  You need to compile this in
32-bit mode with either -mcpu=power7, -mcpu=power6, or -mhard-dfp to enable the
decimal instructions.  I used -m32 -O2 -O3 -mcpu=power6.

The error message is:

/home/meissner/fsf-src/lra/libgcc/dfp-bit.c:248:1: error: unrecognizable insn:
 }
 ^
(insn 291 25 289 2 (set (reg:DD 199)
        (subreg:DD (reg:SD 33 1 [ arg_a ]) 0)) /home/meissner/fsf-src/lra/libgcc/dfp-bit.c:104 -1
     (expr_list:REG_DEAD (reg:DI 33 1)
        (nil)))
/home/meissner/fsf-src/lra/libgcc/dfp-bit.c:248:1: internal compiler error: in extract_insn, at recog.c:2152
0x107b198b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
        /home/meissner/fsf-src/lra/gcc/rtl-error.c:110
0x107b19f7 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/meissner/fsf-src/lra/gcc/rtl-error.c:118
0x1074d09b extract_insn(rtx_def*)
        /home/meissner/fsf-src/lra/gcc/recog.c:2152
0x10664a03 check_rtl
        /home/meissner/fsf-src/lra/gcc/lra.c:2009
0x106674bf lra(_IO_FILE*)
        /home/meissner/fsf-src/lra/gcc/lra.c:2371
0x105ebd03 do_reload
        /home/meissner/fsf-src/lra/gcc/ira.c:4624
0x105ebfef rest_of_handle_reload
        /home/meissner/fsf-src/lra/gcc/ira.c:4737


-- 
Michael Meissner, IBM
5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA
meissner@linux.vnet.ibm.com	fax +1 (978) 399-6899


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