aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2004-06-16 23:03:34 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-06-16 23:03:34 +0000
commit17192884645f6c9e6135af2e691418734bdb6aac (patch)
treedde82bd9f48e0a3f866df03c17efa0827619c51e /gcc/tree-ssa-alias.c
parentbf83cc10ca01f0da835a13d9bda9ca52cd251bea (diff)
downloadgcc-17192884645f6c9e6135af2e691418734bdb6aac.zip
gcc-17192884645f6c9e6135af2e691418734bdb6aac.tar.gz
gcc-17192884645f6c9e6135af2e691418734bdb6aac.tar.bz2
tree.h (PHI_CHAIN): New.
* tree.h (PHI_CHAIN): New. * (tree-cfg.c, tree-dfa.c, tree-flow-inline.h, tree-into-ssa.c, tree-outof-ssa.c, tree-phinodes.c, tree-pretty-print.c, tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-live.c, tree-ssa-loop.c, tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa.c, tree-tailcall.c): Use PHI_CHAIN instead of TREE_CHAIN when traversing a list of PHI_NODEs. From-SVN: r83273
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r--gcc/tree-ssa-alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index e980aa2..75c98e1 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -2094,7 +2094,7 @@ dump_points_to_info (FILE *file)
{
tree phi;
- for (phi = phi_nodes (bb); phi; phi = TREE_CHAIN (phi))
+ for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
{
tree ptr = PHI_RESULT (phi);
if (POINTER_TYPE_P (TREE_TYPE (ptr)))