http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17838
--- Comment #6 from Tom St Denis <tstdenis at elliptictech dot com> 2011-11-08 14:17:55 UTC --- Created attachment 25751 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25751 Another test case Another example using gcc version 4.6.1 20110908 (Red Hat 4.6.1-9) (GCC) The function when compiled with "-m32 -O3" uses way more stack than it should. It's like it's putting the fp_int.dp[] array on the stack... I can confirm this is a problem on 32/64 and ARM as well.