This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Further observations regarding alloca on i586-pc-linux-gnu
Joerg Pommnitz <pommnitz@darmstadt.gmd.de> writes:
|> Martin von Loewis wrote:
|> >
|> > > I really think the test is valid. There are no documented
|> > > constraints on the usage of alloca.
|> >
|> > This is a weak point :-) There is no alloca documentation, period.
|> > It's not an ANSI C or ISO C++ function, so you code is certainly not
|> > valid standard C++.
|> >
|>
|> I know it is not ISO C++, however it would be very convenient.
C9x will have VLA (variable length arrays), which are about the same
thing, but safer.
--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org