[Bug rtl-optimization/38449] delay branch scheduling follows REG_CROSSING_JUMP jumps indiscriminately

amylaar at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 8 20:37:00 GMT 2008



------- Comment #2 from amylaar at gcc dot gnu dot org  2008-12-08 20:36 -------
(In reply to comment #1)
> What is target dependent about this, that you need a target hook for it?

Some jumps are OK to be made section crossing, while others are not.
And which ones are OK also depends on target options - the ARCompact
architecture has branches with 21 and 25 bit offset range.  These may cross
section
boundaries if the binary is not too large.


-- 


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



More information about the Gcc-bugs mailing list