Hi Olivier, > Below is a description of a very annoying bug we are witnessing > on ARM. ... > compiled with -Og -mapcs
Do you know -mapcs has been deprecated for more than 4 years now? Is there a reason you are still using it? It was deprecated since -mapcs is both extremely inefficient and buggy. I would strongly suggest to stop using this option completely in all your software. It's useful to create a bug report with the details, however it might not be worth fixing if the issue cannot be reproduced without -mapcs. -mapcs was never meant to support a static chain, especially not spills of the static chain. Cheers, Wilco