projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dabe43d
)
* regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
author
Clinton Popetz
<cpopetz@cygnus.com>
Thu, 6 Apr 2000 13:52:59 +0000
(13:52 +0000)
committer
Stan Cox
<scox@gcc.gnu.org>
Thu, 6 Apr 2000 13:52:59 +0000
(13:52 +0000)
From-SVN: r32969
gcc/ChangeLog
patch
|
blob
|
history
gcc/regrename.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index e1003f4d6bc78ee550b6917bc6cfd5763c49f994..07f9c415211b58dd2bba213bdb108089728b6913 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
+
+ * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
+
2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
* cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
diff --git
a/gcc/regrename.c
b/gcc/regrename.c
index 024429cf30b87ddbd8ecacea514c7107575553ba..a83c46c9c060643508f71c5c8edd6846f58de1a6 100644
(file)
--- a/
gcc/regrename.c
+++ b/
gcc/regrename.c
@@
-335,7
+335,11
@@
regrename_optimize ()
ar_idx < FIRST_PSEUDO_REGISTER;
ar_idx++)
{
+#ifdef REG_ALLOC_ORDER
avail_reg = reg_alloc_order[ar_idx];
+#else
+ avail_reg = ar_idx;
+#endif
if (consider_available (reg_use, avail_reg, &avail_regs,
rc, &du, def_idx[def]))
break;