Using alloca in function parameters buggy or works ???
Graham Stott
graham.stott@btinternet.com
Thu Sep 16 16:08:00 GMT 2004
All,
--- Jeffrey A Law <law@redhat.com> wrote:
>
[snip]
> > 2. Does my example above trigger the bug?
> Unfortunately, I don't recall all the parameters needed to trigger
> the bug, nor do I recall if it was something that was ultimately
> unfixable or not.
>
> jeff
>
I seem to recall it wasn't only a problem with GCC but other bootstrap
compilers. I have a faint recollection that the original docs for alloca
said something about restrictions on use and func arguments was one of
them, could be wrong.
I do know there was some discussion on the mailing lists at some point
about valid uses of alloca.
Graham
More information about the Gcc
mailing list