https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89059
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-01-25 Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Confirmed! Clang has the same problem. We at least fold away the guard check. How did you come to it Jakub?