https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Bug 79009 depends on bug 78693, which changed state.
Bug 78693 Summary: [6 Regression] Bogus 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78693 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED