Further observations regarding alloca on i586-pc-linux-gnu

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Wed Aug 26 03:53:00 GMT 1998


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



More information about the Gcc mailing list