------- Comment #8 from mikpe at it dot uu dot se 2010-04-15 19:55 ------- 4.3 is also broken. Using the simpler test case in PR43732 and a collection of cross-compilers to mips-unknown-linux I see:
gcc-4.1.2: -O2 only: ok; -O2 -ffixed-23: ok gcc-4.2.4: -O2 only: ok; -O2 -ffixed-23: ok gcc-4.3.x: -O2 only: ok; -O2 -ffixed-23: bug (for x in 0..4) gcc-4.4.x: -O2 only: bug; -O2 -ffixed-23: bug (x=0, x=3) gcc-4.5.0: -O2 only: bug; -O2 -ffixed-23: bug So -ffixed- broke between 4.2 and 4.3, and global register variables broke between 4.3 and 4.4. -- mikpe at it dot uu dot se changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu dot se http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43700