https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96638 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #1) > Even GCC 6 ICEs. I suspect GCC 5 did not ICE, see PR 96637 .