projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf3b866
)
cfganal.c (flow_depth_first_order_compute): Always increment dfsnum.
author
John Wehle
<john@feith.com>
Wed, 12 Dec 2001 04:56:30 +0000
(
04:56
+0000)
committer
John Wehle
<wehle@gcc.gnu.org>
Wed, 12 Dec 2001 04:56:30 +0000
(
04:56
+0000)
* cfganal.c (flow_depth_first_order_compute): Always
increment dfsnum.
From-SVN: r47919
gcc/ChangeLog
patch
|
blob
|
history
gcc/cfganal.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 01f8bd4a327767155c8ffdf52fddee481e8e3407..eb6ddb83337fd0286d622f8c0e62b7eb46353bdb 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,8
@@
+Tue Dec 11 23:54:27 EST 2001 John Wehle (john@feith.com)
+
+ * cfganal.c (flow_depth_first_order_compute): Always
+ increment dfsnum.
+
2001-11-30 Alan Matsuoka <alanm@redhat.com>
* combine.c (combine_simplify_rtx) : Can't simplify
diff --git
a/gcc/cfganal.c
b/gcc/cfganal.c
index 6924fd39246d43050ce5ebd32130983b6de23bde..3ec6f6e76006a0ed96388cd256adaffa941f25c1 100644
(file)
--- a/
gcc/cfganal.c
+++ b/
gcc/cfganal.c
@@
-874,7
+874,9
@@
flow_depth_first_order_compute (dfs_order, rc_order)
SET_BIT (visited, dest->index);
if (dfs_order)
- dfs_order[dfsnum++] = dest->index;
+ dfs_order[dfsnum] = dest->index;
+
+ dfsnum++;
if (dest->succ)
{