[Bug rust/107633] [13 regression] Bootstrap failure due to -Werror=unused-parameter and -Werror=dangling-reference
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 11 13:48:01 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107633
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oh wait, that's a std::set::iterator? Then the warning is wrong. Its operator*
returns a reference to something that outlives the iterator itself.
More information about the Gcc-bugs
mailing list