This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30581] Deeply inlined static functions break stack creation
- From: "sqrammi at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2007 17:28:44 -0000
- Subject: [Bug c/30581] Deeply inlined static functions break stack creation
- References: <bug-30581-13975@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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