https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97110 Bug 97110 depends on bug 111536, which changed state.
Bug 111536 Summary: -fanalyzer false positive with NRVO return https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111536 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED