https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556
Bug ID: 90556 Summary: [meta-bug] bogus/missing -Wreturn-local-addr Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: diagnostic, meta-bug Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org CC: msebor at gcc dot gnu.org Depends on: 19972, 49974, 69433, 71924, 81811, 90549 Target Milestone: --- -Wreturn-local-addr bugs are spread out between so many different components that I couldn't pick a decent one for this one and ended up just going with "other" Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19972 [Bug 19972] -Wreturn-local-addr misses return of local (nested) function pointer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49974 [Bug 49974] missing -Wreturn-local-addr for indirectly returning reference to local/temporary https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69433 [Bug 69433] missing -Wreturn-local-addr assigning address of a local to a static https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71924 [Bug 71924] missing -Wreturn-local-addr returning alloca result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81811 [Bug 81811] missing -Wreturn-local-addr returning strcpy result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90549 [Bug 90549] missing -Wreturn-local-addr maybe returning an address of a local array plus offset