https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100666
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |11.1.1, 12.0 Summary|[9/10/11/12 Regression] |[9/10 Regression] warning: |warning: ignoring return |ignoring return value of |value of 'constexpr _Tp&& |'constexpr _Tp&& |std::forward(typename |std::forward(typename |std::remove_reference<_Tp>: |std::remove_reference<_Tp>: |:type&) [with _Tp = |:type&) [with _Tp = |std::nullptr_t; ...]', |std::nullptr_t; ...]', |declared with attribute |declared with attribute |'nodiscard' |'nodiscard' |[-Wunused-result] |[-Wunused-result] Known to fail|12.0 | --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed on the trunk and for 11.2 so far.