[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] New: ICE in finish_expr_stmt, at cp/semantics.cc:872

2022-09-23 Thread alex at clmbng dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107024 Bug ID: 107024 Summary: ICE in finish_expr_stmt, at cp/semantics.cc:872 Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component