Commit 1dd8faa8 by J"orn Rennecke Committed by Joern Rennecke

* final.c (final_scan_insn, case CODE_LABEL: Cleanup.

From-SVN: r18398
parent 923f7cf9
Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* final.c (final_scan_insn, case CODE_LABEL: Cleanup.
Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk> Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* final.c (shorten_branches): Tag the loop alignment onto the * final.c (shorten_branches): Tag the loop alignment onto the
......
...@@ -2020,14 +2020,13 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes) ...@@ -2020,14 +2020,13 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
break; break;
case CODE_LABEL: case CODE_LABEL:
/* The target port might emit labels in the output function for
some insn, e.g. sh.c output_branchy_insn. */
if (CODE_LABEL_NUMBER (insn) <= max_labelno) if (CODE_LABEL_NUMBER (insn) <= max_labelno)
{ {
int align = LABEL_TO_ALIGNMENT (insn); int align = LABEL_TO_ALIGNMENT (insn);
/* The target port might emit labels in the output function for if (align && NEXT_INSN (insn))
some insn, e.g. sh.c output_branchy_insn. */
if (align && NEXT_INSN (insn)
&& CODE_LABEL_NUMBER (insn) <= max_labelno)
ASM_OUTPUT_ALIGN (file, align); ASM_OUTPUT_ALIGN (file, align);
} }
CC_STATUS_INIT; CC_STATUS_INIT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment