https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64687
Bug ID: 64687 Summary: powerpc: GCC 5.0 (trunk@219851) build failure for powerpc with hardware decimal floating point disabled Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: azanella at linux dot vnet.ibm.com Created attachment 34499 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34499&action=edit Testcase to trigger the issue GCC 5.0 (trunk@219851) trigger the following issue when building a C file with Decimal types for powerpc64 with hardware decimal floating point disabled (-DSHARED -O3 -fpic -ggdb3 -mno-hard-dfp): ../libdfp-git/sysdeps/dpd/decode.c: In function ‘__decoded32’: ../libdfp-git/sysdeps/dpd/decode.c:77:1: error: insn does not satisfy its constraints: } ^ (insn 278 13 279 2 (set (mem/c:SD (plus:DI (reg/f:DI 1 1) (const_int -16 [0xfffffffffffffff0])) [18 %sfp+48 S4 A32]) (reg:SD 33 1)) ../libdfp-git/sysdeps/dpd/decode.c:40 492 {movsd_hardfloat} (nil)) ../libdfp-git/sysdeps/dpd/decode.c:77:1: internal compiler error: in extract_constrain_insn, at recog.c:2246 0x105f6b13 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../gcc-git/gcc/rtl-error.c:110 0x105f6b6b _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) ../../gcc-git/gcc/rtl-error.c:121 0x105bf81b extract_constrain_insn(rtx_insn*) ../../gcc-git/gcc/recog.c:2246 0x1059c8d7 reload_cse_simplify_operands ../../gcc-git/gcc/postreload.c:430 0x1059dd33 reload_cse_simplify ../../gcc-git/gcc/postreload.c:207 0x1059dd33 reload_cse_regs_1 ../../gcc-git/gcc/postreload.c:246 0x1059f9d7 reload_cse_regs ../../gcc-git/gcc/postreload.c:94 0x1059f9d7 execute ../../gcc-git/gcc/postreload.c:2367 Temporary files in attachments (decode.i and decode.s), to reproduce just issue: $ gcc decode.i -c -DSHARED -O3 -fpic -ggdb3 -mno-hard-dfp