https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350
ak at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|1 |0
Status|WAITING |UNCONFIRMED
CC| |jason at redhat dot com
--- Comment #4 from ak at gcc dot gnu.org ---
This is the originally failing assert
1194 /* If not, it should be either in the global namespace, or
directly
1195 in a local function scope. A lambda can also be mangled in
the
1196 scope of a default argument. */
1197 gcc_assert (context == global_namespace
1198 || TREE_CODE (context) == PARM_DECL
1199 || TREE_CODE (context) == FUNCTION_DECL);
context is
<record_type 0x7f17c25dd930 unique_ptr cxx-odr-p type_1 type_5 type_6 QI
size <integer_cst 0x7f17c2420330 type <integer_type 0x7f17c24270a8
bitsizetype> constant 8>
unit-size <integer_cst 0x7f17c2420348 type <integer_type 0x7f17c2427000
sizetype> constant 1>
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f17c25dd930
fields <field_decl 0x7f17c25df2f8 _M_t
type <record_type 0x7f17c25d42a0 __uniq_ptr_data sizes-gimplified
cxx-odr-p type_5 type_6 QI size <integer_cst 0x7f17c2420330 8> unit-size
<integer_cst 0x7f17c2420348 1>
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f17c25d42a0 fields <field_decl 0x7f17c25cd7b8 D.2948> context
<translation_unit_decl 0x7f17c240f168 gu.cc>
pointer_to_this <pointer_type 0x7f17c25d4a80> reference_to_this
<reference_type 0x7f17c25e1690>>
used nonlocal decl_3 QI gu.cc:13:19 size <integer_cst 0x7f17c2420330 8>
unit-size <integer_cst 0x7f17c2420348 1>
align:8 warn_if_not_align:0 offset_align 128 decl_not_flexarray: 0
offset <integer_cst 0x7f17c2420270 constant 0>
bit-offset <integer_cst 0x7f17c24202b8 constant 0> context <record_type
0x7f17c25dd930 unique_ptr>> context <translation_unit_decl 0x7f17c240f168
gu.cc>
pointer_to_this <pointer_type 0x7f17c25ddc78> reference_to_this
<reference_type 0x7f17c25e83f0>>