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

--- Comment #7 from Sam James <sjames at gcc dot gnu.org> ---
```
[...]
==838291== Invalid read of size 1
==838291==    at 0x8EB7F10: __strcmp_avx2 (strcmp-avx2.S:249)
==838291==    by 0x5EF52CE: UnknownInlinedFun (splay-tree.c:151)
==838291==    by 0x5EF52CE: UnknownInlinedFun (splay-tree.c:467)
==838291==    by 0x5EF52CE: get_fileinfo(char const*) (c-lex.cc:112)
==838291==    by 0x6163E9B: UnknownInlinedFun (lex.cc:1139)
==838291==    by 0x6163E9B: make_class_type(tree_code) (lex.cc:1161)
==838291==    by 0x6424ED3: lookup_template_class(tree_node*, tree_node*,
tree_node*, tree_node*, int) [clone .constprop.1] (pt.cc:10413)
==838291==    by 0x643B2EA: tsubst(tree_node*, tree_node*, int, tree_node*)
(pt.cc:16555)
==838291==    by 0x5345E0A: tsubst_parameter_mapping(tree_node*, tree_node*,
subst_info) [clone .isra.0] (constraint.cc:1805)
==838291==    by 0x535BB79: UnknownInlinedFun (constraint.cc:2395)
==838291==    by 0x535BB79: satisfy_constraint_r(tree_node*, tree_node*,
sat_info) (constraint.cc:2495)
==838291==    by 0x535C574: satisfy_normalized_constraints(tree_node*,
tree_node*, sat_info) (constraint.cc:2520)
==838291==    by 0x535C8F7: UnknownInlinedFun (constraint.cc:2742)
==838291==    by 0x535C8F7: constraint_satisfaction_value(tree_node*,
tree_node*, sat_info) [clone .lto_priv.0] (constraint.cc:2763)
==838291==    by 0x4827F5E: constraints_satisfied_p(tree_node*, tree_node*)
[clone .part.0] (constraint.cc:2800)
==838291==    by 0x4AA5440: UnknownInlinedFun (tree.h:3692)
==838291==    by 0x4AA5440: fn_type_unification(tree_node*, tree_node*,
tree_node*, tree_node* const*, unsigned int, tree_node*, unification_kind_t,
int, conversion**, bool, bool) [clone .cold] (pt.cc:23272)
==838291==    by 0x66E560F: add_template_candidate_real(z_candidate**,
tree_node*, tree_node*, tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed> const*, tree_node*, tree_node*, tree_node*, int, tree_node*,
unification_kind_t, bool, int) [clone .isra.0] (call.cc:3723)
==838291==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==838291==

in pp_string, at pretty-print.cc:2654
[...]
```

Reply via email to