This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82444] New: ICE in ira_init_register_move_cost, at ira.c:1581
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Oct 2017 06:56:30 +0000
- Subject: [Bug target/82444] New: ICE in ira_init_register_move_cost, at ira.c:1581
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82444
Bug ID: 82444
Summary: ICE in ira_init_register_move_cost, at ira.c:1581
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: vmakarov at gcc dot gnu.org
Target Milestone: ---
This looks like a very old ICE:
$ cat /tmp/ice.i
__float128 a;
void b () { __asm__("" : "+r"(a)); }
$ gcc /tmp/ice.i -m32 -march=athlon -c
during RTL pass: ira
/tmp/ice.i: In function ‘b’:
/tmp/ice.i:2:1: internal compiler error: in ira_init_register_move_cost, at
ira.c:1581
void b () { __asm__("" : "+r"(a)); }
^~~~
0xcc3f0e ira_init_register_move_cost(machine_mode)
../../gcc/ira.c:1581
0xcda81e ira_init_register_move_cost_if_necessary
../../gcc/ira-int.h:1087
0xcdc912 record_reg_classes
../../gcc/ira-costs.c:857
0xcde57f record_operand_costs
../../gcc/ira-costs.c:1342
0xcdedac scan_one_insn
../../gcc/ira-costs.c:1492
0xcdf499 process_bb_for_costs
../../gcc/ira-costs.c:1613
0xcdf4dc process_bb_node_for_costs
../../gcc/ira-costs.c:1625
0xcd39b5 ira_traverse_loop_tree(bool, ira_loop_tree_node*, void
(*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*))
../../gcc/ira-build.c:1799
0xcdf8e1 find_costs_and_classes
../../gcc/ira-costs.c:1709
0xce1739 ira_costs()
../../gcc/ira-costs.c:2250
0xcd7e84 ira_build()
../../gcc/ira-build.c:3420
0xcce341 ira
../../gcc/ira.c:5270
0xcceb84 execute
../../gcc/ira.c:5581