http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59939
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210#c22 mentions that clang does the opposite. I wonder if clang is wrong in this warning here. I am going to say we are behaving the way we expect it and maybe clang is not.