[Bug c++/104142] [9/10/11 Regression] Spurious warning unused-variable on const static variable and defaulted constructor

mh+gcc at glandium dot org gcc-bugzilla@gcc.gnu.org
Wed May 4 03:26:59 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104142

--- Comment #7 from Mike Hommey <mh+gcc at glandium dot org> ---
(In reply to Mike Hommey from comment #6)
> There's a different warning that interestingly only happens on 11.2 and 11.3
> (not 11.1 or earlier versions), that is fixed by the patch in this bug:

Forgot to mention: that warning was a regression from bug 101029


More information about the Gcc-bugs mailing list