From: Richard Biener Date: Mon, 25 Sep 2017 07:25:31 +0000 (+0000) Subject: re PR debug/82144 (ICE in add_dwarf_attr with alignas) X-Git-Tag: upstream/12.2.0~36768 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=625f7ba6c350860033934c9a92a57b9377f76d44;p=platform%2Fupstream%2Fgcc.git re PR debug/82144 (ICE in add_dwarf_attr with alignas) 2017-09-25 Richard Biener 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b92347e..cc82092 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-09-25 Richard Biener + + 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 PR target/82267 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 3609717..dda569f 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -21246,8 +21246,6 @@ gen_enumeration_type_die (tree type, dw_die_ref context_die) else add_AT_flag (type_die, DW_AT_declaration, 1); - add_alignment_attribute (type_die, type); - add_pubtype (type, type_die); return type_die;