https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63531
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |WAITING --- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Actually, I can't reproduce it with 4.9 nor with 5. I'd say your version doesn't have r215459 yet, which I believe is the fix. Can you try newer GCC?