http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54176
--- Comment #2 from Tommy Thorn <tommy-gccbugs at thorn dot ws> 2012-08-05 03:26:16 UTC --- Forget the attached example, lm32-elf-gcc breaks as soon as any static or extern variable is used in a function. Fx: int x; int foo() { return x; }