[Bug target/42841] [4.3/4.4/4.5 Regression] SH: Assembler complains pcrel too far.

christian dot bruel at st dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 22 11:48:00 GMT 2010



------- Comment #3 from christian dot bruel at st dot com  2010-01-22 11:47 -------
Hello,

I had a similar problem a while ago, but was never able to reproduce on trunk.

I was a phasing problem between branch_shortening from sh_reorg and the 
delayed branch scheduler, that would change the size of a bf (2) against a
bf/s+instruction (4). Thus breaking surrounding branch offsets.

-fno-delayed-branch is the workaround.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42841



More information about the Gcc-bugs mailing list