re PR target/9594 ([sh4-elf] Assembler complains pcrel too far.)

PR target/9594:
	* sh.c (barrier_align): Also recognize stuff_delay_slot as
	an indicator that a barrier was created by branch splitting.

From-SVN: r65652
This commit is contained in:
J"orn Rennecke 2003-04-15 18:30:40 +00:00 committed by Joern Rennecke
parent ff41a56f93
commit 9959c8c7df
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-04-15 J"orn Rennecke <joern.rennecke@superh.com>
PR target/9594:
* sh.c (barrier_align): Also recognize stuff_delay_slot as
an indicator that a barrier was created by branch splitting.
2003-04-15 Mark Mitchell <mark@codesourcery.com>
* c-decl.c (implicitly_declare): Copy declarations that are going

View File

@ -3686,7 +3686,8 @@ barrier_align (barrier_or_label)
|| (x = (NEXT_INSN (NEXT_INSN (PREV_INSN (prev)))),
(INSN_P (x)
&& (INSN_CODE (x) == CODE_FOR_block_branch_redirect
|| INSN_CODE (x) == CODE_FOR_indirect_jump_scratch))))
|| INSN_CODE (x) == CODE_FOR_indirect_jump_scratch
|| INSN_CODE (x) == CODE_FOR_stuff_delay_slot))))
{
rtx pat = PATTERN (prev);
if (GET_CODE (pat) == PARALLEL)