[Bug c++/107024] ICE in finish_expr_stmt, at cp/semantics.cc:872

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

[Bug c++/107024] ICE in finish_expr_stmt, at cp/semantics.cc:872

2022-09-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107024 Martin Liška changed: What|Removed |Added Keywords|needs-reduction | CC|

[Bug c++/107024] ICE in finish_expr_stmt, at cp/semantics.cc:872

2022-09-26 Thread alex at clmbng dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107024 --- Comment #3 from alex at clmbng dot com --- Minimal test-case: struct A { int fun(); }; template consteval auto aaa() { return A{}; } template using aa = decltype(aaa<[]{}>()); template A a = aa{}; int main() { return a<42>.fun

[Bug c++/107024] ICE in finish_expr_stmt, at cp/semantics.cc:872

2022-09-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107024 --- Comment #2 from Martin Liška --- Test-case: #include #include #include template struct Integral_pack { static constexpr size_t data[sizeof...(NN)] = { NN... }; std::vector vec { NN... }; }; template consteval auto apply_fold

[Bug c++/107024] ICE in finish_expr_stmt, at cp/semantics.cc:872

2022-09-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107024 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0