Commit 264bd20f by Jakub Jelinek Committed by Jakub Jelinek

re PR target/55194 (h8300 ICE during conftest in libgcc dwarf2out:7605)

	PR target/55194
	* dwarf2out.c (value_format) <case dw_val_class_high_pc>: Handle
	also DWARF2_ADDR_SIZE 1 and 2.

From-SVN: r193158
parent ae6e6a08
2012-11-05 Jakub Jelinek <jakub@redhat.com>
PR target/55194
* dwarf2out.c (value_format) <case dw_val_class_high_pc>: Handle
also DWARF2_ADDR_SIZE 1 and 2.
2012-11-05 Jan Hubicka <jh@suse.cz> 2012-11-05 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (leaf_node_p): Rename to ... * ipa-inline.c (leaf_node_p): Rename to ...
...@@ -7597,12 +7597,16 @@ value_format (dw_attr_ref a) ...@@ -7597,12 +7597,16 @@ value_format (dw_attr_ref a)
case dw_val_class_high_pc: case dw_val_class_high_pc:
switch (DWARF2_ADDR_SIZE) switch (DWARF2_ADDR_SIZE)
{ {
case 4: case 1:
return DW_FORM_data4; return DW_FORM_data1;
case 8: case 2:
return DW_FORM_data8; return DW_FORM_data2;
default: case 4:
gcc_unreachable (); return DW_FORM_data4;
case 8:
return DW_FORM_data8;
default:
gcc_unreachable ();
} }
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment