aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-09-25 07:25:31 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-09-25 07:25:31 +0000
commit625f7ba6c350860033934c9a92a57b9377f76d44 (patch)
tree1135591b3742e7ff5b19f0d2e8c3e7f0d24b25c0 /gcc/dwarf2out.c
parent55de8eb3b06b2af694ee9bea4c5beca06345ec8f (diff)
downloadgcc-625f7ba6c350860033934c9a92a57b9377f76d44.zip
gcc-625f7ba6c350860033934c9a92a57b9377f76d44.tar.gz
gcc-625f7ba6c350860033934c9a92a57b9377f76d44.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 0 insertions, 2 deletions
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;