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.
