[Bug c/71924] missing -Wreturn-local-addr returning alloca result

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 8 00:17:00 GMT 2016


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

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
On second thought, the right fix is to report the problem consistently for all
kinds of storage, including auto variables, alloca-ted storage, and compound
literals.


More information about the Gcc-bugs mailing list