https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79497
Bug ID: 79497 Summary: ICE in extract_insn, at recog.c:2311 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- A test run with option -mcmodel=large hits an ICE for testsuite file run-gd.c and run-ld.c, down to at least gcc 4.8. $ gcc-7-20170212 -mcmodel=large -c run-gd.c run-gd.c: In function 'get_gd': run-gd.c:12:1: error: unrecognizable insn: } ^ (call_insn/u 5 2 6 2 (parallel [ (set (reg:DI 0 ax) (call:DI (mem:QI (symbol_ref:DI ("__tls_get_addr")) [0 S1 A8]) (const_int 0 [0]))) (unspec:DI [ (symbol_ref:DI ("tls_gd") [flags 0x12] <var_decl 0x2b5d2aa67e10 tls_gd>) (reg/f:DI 7 sp) ] UNSPEC_TLS_GD) ]) "run-gd.c":11 -1 (expr_list:REG_EH_REGION (const_int -2147483648 [0xffffffff80000000]) (nil)) (nil)) run-gd.c:12:1: internal compiler error: in extract_insn, at recog.c:2311 0xb894d8 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../gcc/rtl-error.c:108 0xb89509 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) ../../gcc/rtl-error.c:116 0xb56b71 extract_insn(rtx_insn*) ../../gcc/recog.c:2311 0x921e7f instantiate_virtual_regs_in_insn ../../gcc/function.c:1637 0x921e7f instantiate_virtual_regs ../../gcc/function.c:1957 0x921e7f execute ../../gcc/function.c:2006