https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 111132, which changed state.
Bug 111132 Summary: [12 Regression] Function redeclaration in local scope breaks constant expression evaluation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111132 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED