------- Comment #5 from pinskia at gcc dot gnu dot org 2006-05-29 23:02 ------- I think this is Host Wide Int being 32bit problem.
As I can reproduce it on x86-linux-gnu but not powerpc-darwin (which defaults to 64bits). 3.4 used to print: t.c: In function `f': t.c:5: warning: char format, different type arg (arg 3) So this is a regression. Confirmed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC target triplet| |HWI=32 Keywords| |diagnostic Last reconfirmed|0000-00-00 00:00:00 |2006-05-29 23:02:16 date| | Summary|Wrong type in warning |[4.0/4.1/4.2 Regression] | |Wrong type in warning Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27558