https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108550
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #4) > Why is this a regression? I'm not finding a released version that compiled > this. The testcase in comment #2 works both with GCC 5.1.0 and 5.2.0 at least as on godbolt . GCC 5.3.0 fails though.