From 6f72f1437ab068675e023c0dadd7eedbba90dfbe Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 14 Apr 2015 12:33:57 +0000 Subject: [PATCH] graphite-scop-detection.c: Do not include cp/cp-tree.h. 2015-04-14 Richard Biener * graphite-scop-detection.c: Do not include cp/cp-tree.h. (graphite_can_represent_scev): Use POINTER_TYPE_P. From-SVN: r222087 --- gcc/ChangeLog | 5 +++++ gcc/graphite-scop-detection.c | 3 +-- 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,3 +1,8 @@ +2015-04-14 Richard Biener + + * graphite-scop-detection.c: Do not include cp/cp-tree.h. + (graphite_can_represent_scev): Use POINTER_TYPE_P. + 2015-04-14 Richard Biener PR tree-optimization/65758 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)) -- 2.30.2