aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2009-03-18 16:59:55 +0000
committerSebastian Pop <spop@gcc.gnu.org>2009-03-18 16:59:55 +0000
commit9968d233b33186f70cbf9b265ec15b8b97153128 (patch)
treecb8dceda91b400caad10982f1b60272f8ece3948 /gcc/tree-vrp.c
parent69484bfd6c661917cb9daafd9082e1b5be3f6ccb (diff)
downloadgcc-9968d233b33186f70cbf9b265ec15b8b97153128.zip
gcc-9968d233b33186f70cbf9b265ec15b8b97153128.tar.gz
gcc-9968d233b33186f70cbf9b265ec15b8b97153128.tar.bz2
graphite.c (exclude_component_ref): Renamed contains_component_ref_p.
2009-03-18 Sebastian Pop <sebastian.pop@amd.com> * graphite.c (exclude_component_ref): Renamed contains_component_ref_p. (is_simple_operand): Call contains_component_ref_p before calling data reference analysis that would fail on COMPONENT_REFs. * tree-vrp.c (search_for_addr_array): Fix formatting. * g++.dg/graphite: New. * g++.dg/graphite/graphite.exp: New. * g++.dg/graphite/pr39447.C: New. From-SVN: r144937
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r--gcc/tree-vrp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index 77fff6c..755b117 100644
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -5067,7 +5067,7 @@ check_array_ref (tree ref, const location_t *location, bool ignore_off_by_one)
address of an ARRAY_REF, and call check_array_ref on it. */
static void
-search_for_addr_array(tree t, const location_t *location)
+search_for_addr_array (tree t, const location_t *location)
{
while (TREE_CODE (t) == SSA_NAME)
{
@@ -5076,8 +5076,8 @@ search_for_addr_array(tree t, const location_t *location)
if (gimple_code (g) != GIMPLE_ASSIGN)
return;
- if (get_gimple_rhs_class (gimple_assign_rhs_code (g)) !=
- GIMPLE_SINGLE_RHS)
+ if (get_gimple_rhs_class (gimple_assign_rhs_code (g))
+ != GIMPLE_SINGLE_RHS)
return;
t = gimple_assign_rhs1 (g);
@@ -5094,7 +5094,7 @@ search_for_addr_array(tree t, const location_t *location)
if (TREE_CODE (t) == ARRAY_REF)
check_array_ref (t, location, true /*ignore_off_by_one*/);
- t = TREE_OPERAND(t,0);
+ t = TREE_OPERAND (t, 0);
}
while (handled_component_p (t));
}