[Bug c++/115090] New: ICE in gimplify_expr, at gimplify.cc:18907 (deduced this)

2024-05-14 Thread jose at serrall dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115090 Bug ID: 115090 Summary: ICE in gimplify_expr, at gimplify.cc:18907 (deduced this) Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/115090] ICE in gimplify_expr, at gimplify.cc:18907 (deduced this)

2024-05-14 Thread jose at serrall dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115090 --- Comment #1 from José Cruz Serrallés --- Pasting MRE here for convenience: struct Base { template constexpr void operator()(this Derived&& der) { operator()(); } }; int main() { Base b; b(); }