From: Kaveh R. Ghazi Date: Tue, 21 Sep 1999 22:28:47 +0000 (+0000) Subject: haifa-sched.c (sched_analyze): Rename local variable `region' to avoid conflicts... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5db61ef0b054bbdb86d1d0feceb066821288f19;p=gcc.git haifa-sched.c (sched_analyze): Rename local variable `region' to avoid conflicts with typedef struct `region'... * haifa-sched.c (sched_analyze): Rename local variable `region' to avoid conflicts with typedef struct `region' at the top level scope. From-SVN: r29567 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1034766903..da29b61f25a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi + + * haifa-sched.c (sched_analyze): Rename local variable `region' to + avoid conflicts with typedef struct `region' at the top level scope. + Tue Sep 21 14:14:50 1999 Richard Henderson * basic-block.h (basic_block): Add eh_beg, eh_end. diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 8641f11ff2c..b2cd5078034 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -3940,16 +3940,16 @@ sched_analyze (head, tail) || (NOTE_LINE_NUMBER (insn) == NOTE_INSN_SETJMP && GET_CODE (PREV_INSN (insn)) != CALL_INSN))) { - rtx region; + rtx rtx_region; if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_EH_REGION_BEG || NOTE_LINE_NUMBER (insn) == NOTE_INSN_EH_REGION_END) - region = GEN_INT (NOTE_EH_HANDLER (insn)); + rtx_region = GEN_INT (NOTE_EH_HANDLER (insn)); else - region = GEN_INT (0); + rtx_region = GEN_INT (0); loop_notes = alloc_EXPR_LIST (REG_DEAD, - region, + rtx_region, loop_notes); loop_notes = alloc_EXPR_LIST (REG_DEAD, GEN_INT (NOTE_LINE_NUMBER (insn)),