aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-08-15 07:50:40 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-08-15 07:50:40 +0000
commit6e2028ff0f24561125d465b3c8d6acc88d4d82dc (patch)
treed715e9fb4a2949aee3ce02f70c58ffb10d618df5 /gcc/tree-data-ref.h
parent94351473749ce2618a1f2193380c0d690f9d6bb8 (diff)
downloadgcc-6e2028ff0f24561125d465b3c8d6acc88d4d82dc.zip
gcc-6e2028ff0f24561125d465b3c8d6acc88d4d82dc.tar.gz
gcc-6e2028ff0f24561125d465b3c8d6acc88d4d82dc.tar.bz2
re PR tree-optimization/62031 (Different results between O2 and O2 -fpredictive-commoning)
2014-08-15 Richard Biener <rguenther@suse.de> PR tree-optimization/62031 * tree-data-ref.c (dr_analyze_indices): Do not set DR_UNCONSTRAINED_BASE. (dr_may_alias_p): All indirect accesses have to go the formerly DR_UNCONSTRAINED_BASE path. * tree-data-ref.h (struct indices): Remove unconstrained_base member. (DR_UNCONSTRAINED_BASE): Remove. * gcc.dg/torture/pr62031.c: New testcase. From-SVN: r214006
Diffstat (limited to 'gcc/tree-data-ref.h')
-rw-r--r--gcc/tree-data-ref.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h
index f4075fc..a96c5ff 100644
--- a/gcc/tree-data-ref.h
+++ b/gcc/tree-data-ref.h
@@ -81,10 +81,6 @@ struct indices
/* A list of chrecs. Access functions of the indices. */
vec<tree> access_fns;
-
- /* Whether BASE_OBJECT is an access representing the whole object
- or whether the access could not be constrained. */
- bool unconstrained_base;
};
struct dr_alias
@@ -195,7 +191,6 @@ struct data_reference
#define DR_STMT(DR) (DR)->stmt
#define DR_REF(DR) (DR)->ref
#define DR_BASE_OBJECT(DR) (DR)->indices.base_object
-#define DR_UNCONSTRAINED_BASE(DR) (DR)->indices.unconstrained_base
#define DR_ACCESS_FNS(DR) (DR)->indices.access_fns
#define DR_ACCESS_FN(DR, I) DR_ACCESS_FNS (DR)[I]
#define DR_NUM_DIMENSIONS(DR) DR_ACCESS_FNS (DR).length ()