------- Comment #10 from rask at gcc dot gnu dot org 2007-11-23 01:33 ------- I think both branches of "if (reverse)" could use the exact same code, i.e. this whole reverse/!reverse idea is bogus on fr30. Suppose our output registers are r1 and r2 and we receive the address in rN. Then, for any N, this instruction sequence should work: ... mov rN, r2 ld @rN, r1 addn 4, r2 ld @r2, r2 ... I found an fr30 simulator in GDB 5.2, so I'm testing the patch for GCC 4.3. Because this bug is not a regression, it might not be fixed in GCC 4.2.x.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34174