summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-27 14:15:32 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-27 14:15:32 +0000
commitd1a63bd60deaa128f986921d7c13d3d6dc96a99a (patch)
treea0eb246da82faf0bfe43945ddc07785fed0dd687 /gcc
parentf47cdd21182b35b9f35d2e2400597b4432515dc6 (diff)
downloadgcc-d1a63bd60deaa128f986921d7c13d3d6dc96a99a.tar.gz
* haifa-sched.c (sched_analyze_insn): Fix thinko in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22022 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/haifa-sched.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e4db16f17e0..81e7ea281e4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Thu Aug 27 15:14:18 1998 Jeffrey A Law (law@cygnus.com)
+
+ * haifa-sched.c (sched_analyze_insn): Fix thinko in last change.
+
Thu Aug 27 16:34:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (check_dbra_loop): Enable code for reversal
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 7a26a6ae952..7192837fbb9 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -3704,11 +3704,11 @@ sched_analyze_insn (x, insn, loop_notes)
link = loop_notes;
while (XEXP (link, 1))
{
- if (XINT (link, 0) == NOTE_INSN_LOOP_BEG
- || XINT (link, 0) == NOTE_INSN_LOOP_END
- || XINT (link, 0) == NOTE_INSN_EH_REGION_BEG
- || XINT (link, 0) == NOTE_INSN_EH_REGION_END
- || XINT (link, 0) == NOTE_INSN_SETJMP)
+ if (INTVAL (XEXP (link, 0)) == NOTE_INSN_LOOP_BEG
+ || INTVAL (XEXP (link, 0)) == NOTE_INSN_LOOP_END
+ || INTVAL (XEXP (link, 0)) == NOTE_INSN_EH_REGION_BEG
+ || INTVAL (XEXP (link, 0)) == NOTE_INSN_EH_REGION_END
+ || INTVAL (XEXP (link, 0)) == NOTE_INSN_SETJMP)
schedule_barrier_found = 1;
link = XEXP (link, 1);