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

From-SVN: r18398
This commit is contained in:
J"orn Rennecke 1998-03-04 10:50:18 +00:00 committed by Joern Rennecke
parent 923f7cf923
commit 1dd8faa86e
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,7 @@
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>
* final.c (shorten_branches): Tag the loop alignment onto the

View File

@ -2020,14 +2020,13 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
break;
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)
{
int align = LABEL_TO_ALIGNMENT (insn);
/* The target port might emit labels in the output function for
some insn, e.g. sh.c output_branchy_insn. */
if (align && NEXT_INSN (insn)
&& CODE_LABEL_NUMBER (insn) <= max_labelno)
if (align && NEXT_INSN (insn))
ASM_OUTPUT_ALIGN (file, align);
}
CC_STATUS_INIT;