[Bug c/30581] Deeply inlined static functions break stack creation
rearnsha at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 25 17:25:00 GMT 2007
------- Comment #5 from rearnsha at gcc dot gnu dot org 2007-01-25 17:25 -------
--> volatile char buf[512] /*__attribute__ ((aligned (4)))*/;
WHat makes you think this buffer will be word-aligned? One of your
sub-routines creates a variable with 33 bytes, and when inlining happens
there's nothing to stop the compiler from packing these structures onto the
stack and starting buf at something like stack-base+33.
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30581
More information about the Gcc-bugs
mailing list