aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-25 21:48:26 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-25 21:48:26 +0000
commit218d1537056146abf3b2e386d314375346218571 (patch)
tree9f1e91eea3d7f374cfc576ca0c38f9a113f861e5 /gcc/cfgrtl.c
parent5132abc2a854979cf96b725ee0aaef2cd3121799 (diff)
downloadgcc-218d1537056146abf3b2e386d314375346218571.zip
gcc-218d1537056146abf3b2e386d314375346218571.tar.gz
gcc-218d1537056146abf3b2e386d314375346218571.tar.bz2
cfg.c (unchecked_make_edge, [...]): Use VEC_safe_push instead of VEC_safe_insert.
* cfg.c (unchecked_make_edge, redirect_edge_succ, redirect_edge_pred): Use VEC_safe_push instead of VEC_safe_insert. * cfgrtl.c (force_nonfallthru_and_redirect): Likewise. From-SVN: r89558
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index de6daff..162bdb1 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -1069,7 +1069,7 @@ force_nonfallthru_and_redirect (edge e, basic_block target)
gcc_assert (found);
- VEC_safe_insert (edge, bb->succs, 0, e);
+ VEC_safe_push (edge, bb->succs, e);
make_single_succ_edge (ENTRY_BLOCK_PTR, bb, EDGE_FALLTHRU);
}
}