https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71121
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-16 CC| |jason at gcc dot gnu.org, | |msebor at gcc dot gnu.org Known to work| |5.3.0 Blocks| |55004 Ever confirmed|0 |1 Known to fail| |6.1.0 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed with 6.1.0 and today's top of trunk (7.0). Both the auto and the constexpr appear to be necessary to trigger the warning. The regression appears to have been introduced in r234940. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 [Bug 55004] [meta-bug] constexpr issues