https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91336
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-11-05 Ever confirmed|0 |1 --- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Jonas Hahnfeld from comment #1) > Created attachment 46666 [details] > Small test case. > > I'm attaching another small test case that shows 3 casts, GCC only warns > about the first one. Interestingly the latest Intel Compiler also warns > about the second one. Confirmed that GCC only warns about the first one. Clang doesn't warn about any of them though... (I don't have a copy of the latest Intel Compiler to check with that...)