aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-04-14 12:33:57 +0000
committerRichard Biener <rguenther@suse.de>2015-04-14 12:33:57 +0000
commitebc1a7143719da0c709555b57ea5f25ba6f0f436 (patch)
treea52461cf5bf722149ec32396c1e440465f8921ec
parent67fa09849b7a1d38d2d49b8c59aceb0307843e50 (diff)
2015-04-14 Richard Biener <rguenther@suse.de>
* graphite-scop-detection.c: Do not include cp/cp-tree.h. (graphite_can_represent_scev): Use POINTER_TYPE_P. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@222087 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/graphite-scop-detection.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8538b25b98a..6dd82e337c5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2015-04-14 Richard Biener <rguenther@suse.de>
+ * graphite-scop-detection.c: Do not include cp/cp-tree.h.
+ (graphite_can_represent_scev): Use POINTER_TYPE_P.
+
+2015-04-14 Richard Biener <rguenther@suse.de>
+
PR tree-optimization/65758
* tree-ssa-ccp.c (get_value_from_alignment): Adjust mask test
against -1.
diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c
index 4512fe7abf0..02e9e502eae 100644
--- a/gcc/graphite-scop-detection.c
+++ b/gcc/graphite-scop-detection.c
@@ -70,7 +70,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h"
#include "sese.h"
#include "tree-ssa-propagate.h"
-#include "cp/cp-tree.h"
#ifdef HAVE_isl
#include "graphite-poly.h"
@@ -239,7 +238,7 @@ graphite_can_represent_scev (tree scev)
the only nodes, which are disabled in case they are pointers to object
types, but this can be changed. */
- if (TYPE_PTROB_P (TREE_TYPE (scev)) && TREE_CODE (scev) == SSA_NAME)
+ if (POINTER_TYPE_P (TREE_TYPE (scev)) && TREE_CODE (scev) == SSA_NAME)
return false;
switch (TREE_CODE (scev))