https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556 Bug 90556 depends on bug 90735, which changed state.
Bug 90735 Summary: missing location in -Wreturn-local-addr on a function with two return statements https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90735 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED