[Bug c++/91023] Unification Fails for parameter pack

2023-11-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91023 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/91023] Unification Fails for parameter pack

2023-11-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91023 --- Comment #5 from Andrew Pinski --- The current ICE is: ``` t.cc:10:11: internal compiler error: tree check: expected type_argument_pack or nontype_argument_pack, have record_type in unify_pack_expansion, at cp/pt.cc:23947 0x979320 tree_check_f

[Bug c++/91023] Unification Fails for parameter pack

2023-11-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91023 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | --- Comment #4 from Andrew Pinski ---

[Bug c++/91023] Unification Fails for parameter pack

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91023 --- Comment #3 from Andrew Pinski --- The trunk we get the following ICE: : In substitution of 'template std::optional > parse_variant(const Foo >& ...) [with T = ]': :34:34: required from here :34:34: internal compiler error: tree check: expec

[Bug c++/91023] Unification Fails for parameter pack

2020-01-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91023 Martin Liška changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFIR

[Bug c++/91023] Unification Fails for parameter pack

2019-06-27 Thread christoph.hoeger at celeraone dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91023 --- Comment #1 from Christoph Höger --- Since it might help investigating the issue, here is a workaround: #include #include template struct Foo { }; template std::optional> parse_variant(const Foo &... variants) { return {}; } struc