https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-reduction

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
So it's again copy_decls_for_unworthy_types creating a duplicate stub, this
time inside a type unit.  There's no stub previously present thus not for
the fix I installed.  I'll debug once I get a reduced testcase.

+    DIE    0: DW_TAG_class_type (0x7fffdb7cdc80)
+      abbrev id: 0 offset: 0 mark: 0
+      DW_AT_name: "DataBlockController<int>"
+      DW_AT_signature: die -> signature: bbc5b80d562b30b7 (0x7ffff2865280)
+      DW_AT_declaration: 1
+        DIE    0: DW_TAG_structure_type (0x7fffdb7cdc30)
+          abbrev id: 0 offset: 0 mark: 0
+          DW_AT_name: "WithAffinity"
+          DW_AT_declaration: 1
...
+    DIE    0: DW_TAG_class_type (0x7fffdb7d0140)
+      abbrev id: 0 offset: 0 mark: 0
+      DW_AT_name: "DataBlockController<int>"
+      DW_AT_signature: die -> signature: bbc5b80d562b30b7 (0x7ffff2865280)
+      DW_AT_declaration: 1
+        DIE    0: DW_TAG_typedef (0x7fffdb7d00f0)
+          abbrev id: 0 offset: 0 mark: 0
+          DW_AT_name: "DynamicID_t"
+          DW_AT_decl_file: "tramp3d-v4.cpp" (0)
+          DW_AT_decl_line: 7182
+          DW_AT_decl_column: 31
+          DW_AT_type: die -> 0 (0x7fffdb7d0190)
+          DW_AT_accessibility: 1

Reply via email to