[Bug c++/117281] Concepts and variadic template: internal compiler error

2024-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117281 Andrew Pinski changed: What|Removed |Added Blocks||67491 Keywords|

[Bug c++/117281] Concepts and variadic template: internal compiler error

2024-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117281 --- Comment #3 from Andrew Pinski --- here is the ICE on the trunk: ``` :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 bad; |

[Bug c++/117281] Concepts and variadic template: internal compiler error

2024-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117281 --- Comment #2 from Andrew Pinski --- New reduced testcase: ``` template struct always_string{}; template concept t = true; template typename T> struct triggers_bug { T value; }; triggers_bug bad; ``` To show it is unrelated to a type al