Commit 625f7ba6 by Richard Biener Committed by Richard Biener

re PR debug/82144 (ICE in add_dwarf_attr with alignas)

2017-09-25  Richard Biener  <rguenther@suse.de>

	PR middle-end/82144
	* dwarf2out.c (gen_enumeration_type_die): Do not add alignment
	attribute for incomplete types nor twice for complete ones.

From-SVN: r253134
parent 55de8eb3
2017-09-25 Richard Biener <rguenther@suse.de>
PR middle-end/82144
* dwarf2out.c (gen_enumeration_type_die): Do not add alignment
attribute for incomplete types nor twice for complete ones.
2017-09-24 Uros Bizjak <ubizjak@gmail.com> 2017-09-24 Uros Bizjak <ubizjak@gmail.com>
PR target/82267 PR target/82267
...@@ -21246,8 +21246,6 @@ gen_enumeration_type_die (tree type, dw_die_ref context_die) ...@@ -21246,8 +21246,6 @@ gen_enumeration_type_die (tree type, dw_die_ref context_die)
else else
add_AT_flag (type_die, DW_AT_declaration, 1); add_AT_flag (type_die, DW_AT_declaration, 1);
add_alignment_attribute (type_die, type);
add_pubtype (type, type_die); add_pubtype (type, type_die);
return type_die; return type_die;
......
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