[Bug libstdc++/91871] iterator_to_const_iterator() in testsuite_hooks.h causes valid -Wreturn-stack-address warnings with LLVM
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 24 15:24:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91871
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |msebor at gcc dot gnu.org
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=90905
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
If the template is instantiated it should be diagnosed by -Wreturn-local-addr,
but it isn't. Bug 90905 tracks that limitation.
More information about the Gcc-bugs
mailing list