[Bug c++/117773] New: ICE in gimplify_var_or_parm_decl, co_yleld

2024-11-25 Thread sberg.fun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117773 Bug ID: 117773 Summary: ICE in gimplify_var_or_parm_decl, co_yleld Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/98752] wrong "error: ‘this’ is not a constant expression" with consteval constructor

2023-12-06 Thread sberg.fun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98752 --- Comment #6 from Stephan Bergmann --- While the original reproducer from comment 0 appears to be fixed in recent GCC 14 trunk, a slight modification still fails at least with recent GCC 14 trunk: > $ cat test.cc > struct S1 { > int a; > c