[Ecls-list] Bug in code detecting stack growth direction

Gabriel Dos Reis gdr at integrable-solutions.net
Fri Feb 3 15:45:59 UTC 2012

On Fri, Feb 3, 2012 at 8:23 AM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> I just noticed that some cleverly optimizing compilers broke the code I used
> to detect whether the stack grows upwards or downwards. I will upload a
> patch tonight.

The code in question invoked an undefined behaviour.   So, it was
just a disaster waiting to happen. The compilers can't be blamed.

-- Gaby

More information about the ecl-devel mailing list