This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]