https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106416
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > The second warning looks wrong to me. It is right. Try doing the cast to int instead of a pointer (to int).
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 31 Jul 2022 01:50:51 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106416
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > The second warning looks wrong to me. It is right. Try doing the cast to int instead of a pointer (to int).