LM 32 compiler 6.x generates buggy vararg code in all versions
The 6.x version of the LM32 toolchain produces buggy code (bad parameter layout in the stack) for functions with varargs, when optimization is set.
This problem affects all versions of the compiler that are in use. Worse, with the 4.5 version at least, generated code depends on whether some statement is commented out or left alone, which might mask the issue accidentally, and cover its true extent.