This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/47438] function arguments memory alignment problem.


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â


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]