https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19249
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| | --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC 7+ with -std=c++14 (and above) accept the code.