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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
here is the ICE on the trunk:
```
<source>:11:27: internal compiler error: tree check: accessed elt 2 of
'tree_vec' with 1 elts in tsubst, at cp/pt.cc:16464
   11 | triggers_bug<always_string> bad;
      |                           ^
0x28739d5 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        ???:0
0x2889c95 internal_error(char const*, ...)
        ???:0
0x99cda5 tree_vec_elt_check_failed(int, int, char const*, int, char const*)
        ???:0
0xce2954 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
        ???:0
0xb0c5da tsubst_constraint_info(tree_node*, tree_node*, int, tree_node*)
        ???:0
0xce7763 coerce_template_parms(tree_node*, tree_node*, tree_node*, int, bool)
        ???:0
0xcd6fd9 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int)
        ???:0
0xd18b2c finish_template_type(tree_node*, tree_node*, int)
        ???:0
0xc9b47a c_parse_file()
        ???:0
0xdf4e29 c_common_parse_file()
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1
```

Reply via email to