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/30581] Deeply inlined static functions break stack creation



------- Comment #6 from sqrammi at hotmail dot com  2007-01-25 17:28 -------
The problem is that the compiler is not either 1) automatically aligning the
buffer so that the program actually works or 2) warning the user that their
code is retarded and needs to be modified so that all the stacks fit to
multiples of 32-bits.

wpa_supplicant is wrought with code that does this, but I don't think the
maintainers understand the problem because gcc doesn't complain, and the
problem doesn't show up until runtime.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30581


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