------- Comment #6 from fredrik dot hederstierna at securitas-direct dot com 2010-08-06 12:06 ------- Yes you are right, unfortunately I just had problems to break out any small test case from our sources.
I think I found out what is the source of the problems. The "-Os" disable alignment of functions. In some case I try to force alignment void __attribute__((aligned(4))) _irq_off(void); since we have some thumb->arm trampoline functions to modify cpu-flags. I guess somehow some functions got thumb-aligned, but I try to investigate this further. /Fredrik -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45207