http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644
Hagay changed:
What|Removed |Added
CC||hagayg at broadcom dot com
--- Comment #65 from Hagay 2012-07-31 16:26:15 UTC
---
Also saw the same problem on MIPS
Compiling using 'gcc version 4.5.2 (Sourcery CodeBench Lite 2011.09-86)'
Produces the below assembly (mips16)
4c13 addiu a0,19
6478 restore 64,ra,s0-s1
f3a6 dd50 sw v0,13232(a1)
e820 jr ra
8c40 lh v0,0(a0)
6500 nop
You can see the 'lh' comes after 'restore' , so the problem exist on MIPS
Sourcery as well.