[Bug c/47438] function arguments memory alignment problem.
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 24 21:37:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47438
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-24 21:21:57 UTC ---
You are invoking undefined behavior here.
I cannot get your example to compile:
t.c: In function ‘Test1’:
t.c:4: error: declaration for parameter ‘sSpid’ but no such parameter
t.c:8: warning: incompatible implicit declaration of built-in function ‘printf’
t.c: In function ‘Test2’:
t.c:14: error: declaration for parameter ‘sSpid’ but no such parameter
t.c:19: warning: incompatible implicit declaration of built-in function
‘printf’
More information about the Gcc-bugs
mailing list