summaryrefslogtreecommitdiff
path: root/gcc/global.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-27 01:25:13 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-27 01:25:13 +0000
commitf3d96a589c138697c4c9d1ad41973a2b110f4266 (patch)
tree7fc24b0621130fa71399fe7a18886374f8f8f7ad /gcc/global.c
parentfc201c87d5e6a63b940e50a9283d23d2a12b3b7c (diff)
downloadgcc-f3d96a589c138697c4c9d1ad41973a2b110f4266.tar.gz
Reorg reg-stack to use the standard CFG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30201 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/global.c')
-rw-r--r--gcc/global.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/global.c b/gcc/global.c
index 3ca1d9ccd03..44564e8dd2e 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -673,16 +673,12 @@ global_conflicts ()
#ifdef STACK_REGS
{
/* Pseudos can't go in stack regs at the start of a basic block
- that can be reached through a computed goto, since reg-stack
- can't handle computed gotos. */
- /* ??? Seems more likely that reg-stack can't handle any abnormal
- edges, critical or not, computed goto or otherwise. */
+ that is reached by an abnormal edge. */
edge e;
for (e = BASIC_BLOCK (b)->pred; e ; e = e->pred_next)
if (e->flags & EDGE_ABNORMAL)
break;
-
if (e != NULL)
for (ax = FIRST_STACK_REG; ax <= LAST_STACK_REG; ax++)
record_one_conflict (ax);