This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/14236] dynamically-sized arrays break alloca()
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Feb 2004 00:40:41 -0000
- Subject: [Bug middle-end/14236] dynamically-sized arrays break alloca()
- References: <20040221103623.14236.aoliva@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-23 00:40 -------
On at least PPC (and most likely all other targets), alloca and VLAs is done by growing the stack and the
restorting it (for the VLA case) at the end of the block. I do not think there is anyways around this
problem ("bug", "feature").
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14236