https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92684
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -W -Wall: t.c: In function ‘main’: t.c:40:3: warning: left shift count >= width of type [enabled by default] printf("%lx %lx %lx\n", b.bit1, b.bit1 << 1, b.bit1 << 63); ^ t.c:40:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] t.c:40:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] t.c:40:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat=]