https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077 Bug 104077 depends on bug 104076, which changed state.
Bug 104076 Summary: bogus -Wdangling-pointer on a conditional https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED