--- Comment #3 from richard at beatnik dot com 2006-12-12 01:29 ---
Ahh,
I see.
Because the a is supposed to be long long, that means that it is of size 8,
which would mean that it takes two regs (or stack spaces, or where ever gcc
stores it's arguments). Then the second %d in the str
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-12 01:01 ---
4.0 and above give a better warning message for this issue:
t1.c:12: warning: format '%d' expects type 'int', but argument 2 has type 'long
long int'
This is not a bug in GCC but rather your code in that the enum y
--- Comment #1 from richard at beatnik dot com 2006-12-12 00:51 ---
Created an attachment (id=12787)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12787&action=view)
test file for creating bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30160