Mercurial > hg > CbC > CbC_gcc
diff gcc/tree-outof-ssa.c @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | b7f97abdc517 |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/tree-outof-ssa.c Tue May 25 18:58:51 2010 +0900 +++ b/gcc/tree-outof-ssa.c Tue Mar 22 17:18:12 2011 +0900 @@ -26,7 +26,6 @@ #include "tree.h" #include "ggc.h" #include "basic-block.h" -#include "diagnostic.h" #include "tree-pretty-print.h" #include "gimple-pretty-print.h" #include "bitmap.h" @@ -34,9 +33,12 @@ #include "timevar.h" #include "tree-dump.h" #include "tree-pass.h" -#include "toplev.h" +#include "diagnostic-core.h" +#include "ssaexpand.h" + +/* FIXME: A lot of code here deals with expanding to RTL. All that code + should be in cfgexpand.c. */ #include "expr.h" -#include "ssaexpand.h" DEF_VEC_I(source_location); @@ -400,7 +402,7 @@ int x; int t; - for (x = 0; VEC_iterate (int, g->nodes, x, t); x++) + FOR_EACH_VEC_ELT (int, g->nodes, x, t) if (t == node) return; VEC_safe_push (int, heap, g->nodes, node); @@ -675,7 +677,7 @@ sbitmap_zero (g->visited); VEC_truncate (int, g->stack, 0); - for (x = 0; VEC_iterate (int, g->nodes, x, part); x++) + FOR_EACH_VEC_ELT (int, g->nodes, x, part) { if (!TEST_BIT (g->visited, part)) elim_forward (g, part);