[vorbis-dev] alloca() problem with CodeWarrior

Segher Boessenkool segher at chello.nl
Wed Mar 13 00:10:26 PST 2002



Michael Smith wrote:
> 
> At 09:05 AM 3/13/02 +0100, you wrote:
> >> The problem I am having now is that the CodeWarrior 5.0 compiler has a bug
> >> with alloca(). It allocates the area on the stack but, under some
> >> circumstances, it does not restore the stack pointer at the end of the
> >> routine. You can imagine what happens next. This happens in
> >> vorbis_lpc_predict().
> >
> >That routine is never executed.
> 
> Sure it is. The lpc predictor is used for pre/post-extrapolation at
> start or end of stream. (floor0 is the other thing that uses the lpc
> code, and you're right that that isn't executed).

Ah.  Sorry for the confusion.  I tried checking before I mailed, but
cvsweb isn't very helpful for this, and so I didn't check every file.

<p>Segher

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list