This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: alloca within inline function
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Agri <agri at desnol dot ru>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 13 Apr 2004 10:38:24 -0300
- Subject: Re: alloca within inline function
- Organization: Red Hat Global Engineering Services Compiler Team
- References: <20040413130752.342fc7cd@agri-home>
On Apr 13, 2004, Agri <agri@desnol.ru> wrote:
> As wrote at the libc manual
> * A variable size array's space is freed at the end of the scope of
> the name of the array. The space allocated with `alloca' remains
> until the end of the function.
> What about inline function?
Functions that call alloca are not inlined.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}