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

            Bug ID: 86736
           Summary: [9 regression] g++.dg/asan/pr81021.C   -O2 -flto
                    -flto-partition=none ICE at dwarf2out.c:31111
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

I don't see this on x86_64-linux, but on x86_64-Darwin (several versions):

Perhaps some fallout from the disabled lto debug?

between r262500 and 262603 (present at 263045)

FAIL: g++.dg/asan/pr81021.C   -O2 -flto -flto-partition=none  (internal
compiler error)
FAIL: g++.dg/asan/pr81021.C   -O2 -flto -flto-partition=none  (test for excess
errors)
FAIL: g++.dg/asan/pr81021.C   -O2 -flto  (internal compiler error)
FAIL: g++.dg/asan/pr81021.C   -O2 -flto  (test for excess errors)

  /* We shouldn't have any symbols with delayed asm names for
     DIEs generated after early finish.  */
31111  gcc_assert (deferred_asm_name == NULL);


deferred_asm_name->created_for is :

p debug_tree(deferred_asm_name->created_for)
 <type_decl 0x144d25260 string
    type <record_type 0x144d265e8 string addressable needs-constructing BLK
        size <integer_cst 0x144822f48 constant 256>
        unit-size <integer_cst 0x14483f048 constant 32>
        align:64 warn_if_not_align:0 symtab:1176738304 alias-set -1
canonical-type 0x144d19c78
        fields <field_decl 0x144d1d8e8 _M_dataplus type <record_type
0x144d19b28 _Alloc_hider>
            private nonlocal BLK
/scratch/10-12-sie/gcc-trunk-unpatched/x86_64-apple-darwin14/libstdc++-v3/include/bits/basic_string.h:155:20
            size <integer_cst 0x144822be8 constant 64>
            unit-size <integer_cst 0x144822c00 constant 8>
            align:64 warn_if_not_align:0 offset_align 128
            offset <integer_cst 0x144822c18 constant 0>
            bit-offset <integer_cst 0x144822c60 constant 0> context
<record_type 0x144d19c78 basic_string> chain <field_decl 0x144d1da18
_M_string_length>> context <namespace_decl 0x144d1d4c0 __cxx11>
        pointer_to_this <pointer_type 0x144d26690> reference_to_this
<reference_type 0x144d2e540> chain <type_decl 0x144d1d558 basic_string>>
    asm_written in_system_header VOID
/scratch/10-12-sie/gcc-trunk-unpatched/x86_64-apple-darwin14/libstdc++-v3/include/bits/stringfwd.h:73:30
    align:1 warn_if_not_align:0 context <namespace_decl 0x144d1d4c0 __cxx11>>

Reply via email to