aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-21 22:28:47 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-21 22:28:47 +0000
commitf5db61ef0b054bbdb86d1d0feceb066821288f19 (patch)
treee9563f491eace6e0e38ed2970608a3dfa7669875 /gcc
parent49d385e3cdad24f2a31a10372e448299dff5eec0 (diff)
downloadgcc-f5db61ef0b054bbdb86d1d0feceb066821288f19.zip
gcc-f5db61ef0b054bbdb86d1d0feceb066821288f19.tar.gz
gcc-f5db61ef0b054bbdb86d1d0feceb066821288f19.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/haifa-sched.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b103476..da29b61 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * 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 <rth@cygnus.com>
* basic-block.h (basic_block): Add eh_beg, eh_end.
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 8641f11..b2cd507 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)),