Commit 5b57e28b by Graham Stott Committed by Graham Stott

flow.c (back_edge_of_syntactic_loop_p): Add whitespace.


	* flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
	(libcall_dead_p): Likewise.

	(mark_used_regs): Constify fmt.
	(find_use_as_address): Likewise.

From-SVN: r44707
parent ece4fc82
2001-08-08 Graham Stott <grahams@redhat.com> 2001-08-08 Graham Stott <grahams@redhat.com>
* flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
(libcall_dead_p): Likewise.
(mark_used_regs): Constify fmt.
(find_use_as_address): Likewise.
2001-08-08 Graham Stott <grahams@redhat.com>
* c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
parameter. parameter.
......
...@@ -2140,10 +2140,13 @@ back_edge_of_syntactic_loop_p (bb1, bb2) ...@@ -2140,10 +2140,13 @@ back_edge_of_syntactic_loop_p (bb1, bb2)
{ {
rtx insn; rtx insn;
int count = 0; int count = 0;
if (bb1->index > bb2->index) if (bb1->index > bb2->index)
return false; return false;
if (bb1->index == bb2->index) if (bb1->index == bb2->index)
return true; return true;
for (insn = bb1->end; insn != bb2->head && count >= 0; for (insn = bb1->end; insn != bb2->head && count >= 0;
insn = NEXT_INSN (insn)) insn = NEXT_INSN (insn))
if (GET_CODE (insn) == NOTE) if (GET_CODE (insn) == NOTE)
...@@ -2153,6 +2156,7 @@ back_edge_of_syntactic_loop_p (bb1, bb2) ...@@ -2153,6 +2156,7 @@ back_edge_of_syntactic_loop_p (bb1, bb2)
if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_END) if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_END)
count--; count--;
} }
return count >= 0; return count >= 0;
} }
...@@ -5938,6 +5942,7 @@ libcall_dead_p (pbi, note, insn) ...@@ -5938,6 +5942,7 @@ libcall_dead_p (pbi, note, insn)
if (x) if (x)
{ {
register rtx r = SET_SRC (x); register rtx r = SET_SRC (x);
if (GET_CODE (r) == REG) if (GET_CODE (r) == REG)
{ {
rtx call = XEXP (note, 0); rtx call = XEXP (note, 0);
...@@ -7579,7 +7584,7 @@ mark_used_regs (pbi, x, cond, insn) ...@@ -7579,7 +7584,7 @@ mark_used_regs (pbi, x, cond, insn)
/* Recursively scan the operands of this expression. */ /* Recursively scan the operands of this expression. */
{ {
register const char *fmt = GET_RTX_FORMAT (code); register const char * const fmt = GET_RTX_FORMAT (code);
register int i; register int i;
for (i = GET_RTX_LENGTH (code) - 1; i >= 0; i--) for (i = GET_RTX_LENGTH (code) - 1; i >= 0; i--)
...@@ -7741,7 +7746,7 @@ find_use_as_address (x, reg, plusconst) ...@@ -7741,7 +7746,7 @@ find_use_as_address (x, reg, plusconst)
HOST_WIDE_INT plusconst; HOST_WIDE_INT plusconst;
{ {
enum rtx_code code = GET_CODE (x); enum rtx_code code = GET_CODE (x);
const char *fmt = GET_RTX_FORMAT (code); const char * const fmt = GET_RTX_FORMAT (code);
register int i; register int i;
register rtx value = 0; register rtx value = 0;
register rtx tem; register rtx tem;
......
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