OSDN Git Service

* haifa-sched.c (sched_analyze): Rename local variable `region' to
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Sep 1999 22:28:47 +0000 (22:28 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Sep 1999 22:28:47 +0000 (22:28 +0000)
       avoid conflicts with typedef struct `region' at the top level scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29567 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/haifa-sched.c

index b103476..da29b61 100644 (file)
@@ -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.
index 8641f11..b2cd507 100644 (file)
@@ -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)),