https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63501
Bug ID: 63501 Summary: ICE in GCC powerpc64le top of trunk with -mupper-regs-df Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: saugustine at google dot com The enclosed (greatly reduced) test case fails with an internal compiler error on gcc-4.9 and top of trunk. Works great with x86. saugustine@saugustine: ~/creduce $ cat test.ii fn1() { double fvalue; switch (0) case 0: case 'f': fmtfp(fvalue); } saugustine@saugustine: ~/creduce $ ~/gcc-tot/install/libexec/gcc/powerpc64le-linux-gnu/5.0.0/cc1 test.ii -mcpu=power7 -mupper-regs-df -O2 fn1 Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <early_local_cleanups> <free-inline-summary> <whole-program> <profile_estimate> <devirt> <cp> <inline> <pure-const> <static-var> <single-use> <comdats>Assembling functions: fn1 test.ii: In function 'fn1': test.ii:7:1: error: unrecognizable insn: } ^ (insn 24 23 25 2 (set (mem/c:DF (plus:DI (reg:DI 9 9) (const_int 96 [0x60])) [0 S8 A64]) (reg/v:DF 3 3 [orig:155 fvalue ] [155])) test.ii:6 -1 (nil)) test.ii:7:1: internal compiler error: in extract_insn, at recog.c:2206