This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31128] __builtin_stack_restore/__builtin_stack_save should not be exposed to the user
- 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: 11 Mar 2007 02:20:10 -0000
- Subject: [Bug c/31128] __builtin_stack_restore/__builtin_stack_save should not be exposed to the user
- References: <bug-31128-14221@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-03-11 02:20 -------
The solution I have for you is to use VLAs correctly and {}, basically going
lowered VLAs of __builtin_stack_restore/__builtin_stack_save/__builtin_alloca
to back VLAs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31128