https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83116
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[6/7/8 Regression] |[6/7 Regression] Statement |Statement with no effect |with no effect causes wrong |causes wrong code of static |code of static object |object constexpr method |constexpr method --- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Fixed on trunk.