------- Comment #15 from jakub at gcc dot gnu dot org 2009-03-10 08:05 ------- You can start with trying if -O2 -fno-inline -fno-inline-small-functions is still miscompiled and if -O0 works, then you can add __attribute__((__optimized__([02]))) to suspected functions.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355