[Bug target/66547] arm-none-eabi-gcc - stack misaligned when calling va_arg function

2015-06-16 Thread matt at hpamotorsport dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66547 --- Comment #3 from Matthew Peters --- Thanks for looking into that; you are correct. And I feel rather stupid as, when testing to double-check your assessment, I found that the stack was not aligned before the function starts.

[Bug target/66547] arm-none-eabi-gcc - stack misaligned when calling va_arg function

2015-06-16 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66547 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/66547] arm-none-eabi-gcc - stack misaligned when calling va_arg function

2015-06-15 Thread matt at hpamotorsport dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66547 --- Comment #1 from Matthew Peters --- Adding some notes. The stack is a local stack generated with "static WORK_AREA(...)" from ChibiOS. I've checked and the stack is aligned at the beginning of performance_suite_thread. I've been unable to ma