http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49180
Mikael Pettersson <mikpe at it dot uu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu.se --- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2011-05-26 22:54:50 UTC --- The value of arm_size_return_regs () needs to be padded to a multiple of the word size before being converted to #registers, or compared with registers*wordsize. I count four places in gcc-4.6 that seem to need that treatment, fixing all four unbreaks pr45070.s -Os -mthumb for me. Not posting a patch since the FSF still hasn't ACKed my copyright assignment.