[Bug debug/67664] [6 Regression] Duplicate AT_const_value attributes in some c++ cases.
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 21 09:46:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67664
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
First time via
#0 add_AT_unsigned (
die=<dw_die_ref 0x7ffff68f60a0 DW_TAG_member <parent=0x7ffff68f6050
DW_TAG_structure_type>>, attr_kind=DW_AT_const_value, unsigned_val=0)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:3879
#1 0x0000000000bc777f in add_const_value_attribute (
die=<dw_die_ref 0x7ffff68f60a0 DW_TAG_member <parent=0x7ffff68f6050
DW_TAG_structure_type>>, rtl=0x7ffff68d3480)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:15578
#2 0x0000000000bca519 in tree_add_const_value_attribute (
die=<dw_die_ref 0x7ffff68f60a0 DW_TAG_member <parent=0x7ffff68f6050
DW_TAG_structure_type>>, t=<integer_cst 0x7ffff68ee1f8>)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:16386
#3 0x0000000000bca710 in tree_add_const_value_attribute_for_decl (
var_die=<dw_die_ref 0x7ffff68f60a0 DW_TAG_member <parent=0x7ffff68f6050
DW_TAG_structure_type>>, decl=<var_decl 0x7ffff68d8bd0 a>)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:16434
#4 0x0000000000bd24f4 in gen_variable_die (decl=<var_decl 0x7ffff68d8bd0 a>,
origin=<tree 0x0>,
context_die=<dw_die_ref 0x7ffff68f6050 DW_TAG_structure_type
<parent=0x7ffff68f6000 DW_TAG_compile_unit>>)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:19666
#5 0x0000000000bd8183 in gen_decl_die (decl=<var_decl 0x7ffff68d8bd0 a>,
origin=<tree 0x0>,
context_die=<dw_die_ref 0x7ffff68f6050 DW_TAG_structure_type
<parent=0x7ffff68f6000 DW_TAG_compile_unit>>)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:21531
#6 0x0000000000bd44f2 in gen_member_die (type=<record_type 0x7ffff6a32348 T>,
context_die=<dw_die_ref 0x7ffff68f6050 DW_TAG_structure_type
<parent=0x7ffff68f6000 DW_TAG_compile_unit>>)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:20378
#7 0x0000000000bd4d57 in gen_struct_or_union_type_die (
type=<record_type 0x7ffff6a32348 T>,
context_die=<dw_die_ref 0x7ffff68f6000 DW_TAG_compile_unit>,
usage=DINFO_USAGE_DIR_USE)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:20483
#8 0x0000000000bd5742 in gen_tagged_type_die (
type=<record_type 0x7ffff6a32348 T>,
context_die=<dw_die_ref 0x7ffff68f6000 DW_TAG_compile_unit>,
usage=DINFO_USAGE_DIR_USE)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:20684
#9 0x0000000000bd5ec1 in gen_type_die_with_usage (
type=<record_type 0x7ffff6a32348 T>,
context_die=<dw_die_ref 0x7ffff68f6000 DW_TAG_compile_unit>,
usage=DINFO_USAGE_DIR_USE)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:20846
#10 0x0000000000bd622d in gen_type_die (type=<record_type 0x7ffff6a32348 T>,
context_die=<dw_die_ref 0x7ffff68f6000 DW_TAG_compile_unit>)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:20901
#11 0x0000000000bd7ff7 in gen_decl_die (decl=<type_decl 0x7ffff6a2f390 T>,
origin=<tree 0x0>,
context_die=<dw_die_ref 0x7ffff68f6000 DW_TAG_compile_unit>)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:21487
#12 0x0000000000bd90ed in dwarf2out_decl (decl=<type_decl 0x7ffff6a2f390 T>)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:21943
#13 0x0000000000bd85af in dwarf2out_type_decl (
decl=<type_decl 0x7ffff6a2f390 T>, local=0)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:21653
#14 0x0000000000ebc3bc in rest_of_type_compilation (
type=<record_type 0x7ffff6a32348 T>, toplev=1)
at /space/rguenther/src/svn/trunk/gcc/passes.c:349
#15 0x0000000000857e3c in finish_struct_1 (t=<record_type 0x7ffff6a32348 T>)
at /space/rguenther/src/svn/trunk/gcc/cp/class.c:6744
2nd time via
#0 add_AT_unsigned (
die=<dw_die_ref 0x7ffff68f60a0 DW_TAG_member <parent=0x7ffff68f6050
DW_TAG_structure_type>>, attr_kind=DW_AT_const_value, unsigned_val=0)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:3879
#1 0x0000000000bc777f in add_const_value_attribute (
die=<dw_die_ref 0x7ffff68f60a0 DW_TAG_member <parent=0x7ffff68f6050
DW_TAG_structure_type>>, rtl=0x7ffff68d3480)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:15578
#2 0x0000000000bc95a0 in add_location_or_const_value_attribute (
die=<dw_die_ref 0x7ffff68f60a0 DW_TAG_member <parent=0x7ffff68f6050
DW_TAG_structure_type>>, decl=<var_decl 0x7ffff68d8bd0 a>, cache_p=false,
attr=DW_AT_location)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:16162
#3 0x0000000000bd8580 in dwarf2out_late_global_decl (
decl=<var_decl 0x7ffff68d8bd0 a>)
at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:21641
#4 0x0000000000b44f10 in analyze_functions (first_time=true)
at /space/rguenther/src/svn/trunk/gcc/cgraphunit.c:1202
#5 0x0000000000b48e55 in symbol_table::finalize_compilation_unit (
this=0x7ffff68d00a8)
at /space/rguenther/src/svn/trunk/gcc/cgraphunit.c:2540
More information about the Gcc-bugs
mailing list