------- Comment #6 from sebastian dot huber at embedded-brains dot de 2010-05-12 11:06 ------- If you use GCC 4.5.0 20100414 with '-march=armv7' '-mthumb' '-Os' the function epilogue is also correct. It seems that this is a Thumb 1 problem.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44091