aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-04-14 12:33:57 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-04-14 12:33:57 +0000
commit6f72f1437ab068675e023c0dadd7eedbba90dfbe (patch)
treea52461cf5bf722149ec32396c1e440465f8921ec /gcc
parentab05af624e3e26f60ab3dac1000af027fab9c273 (diff)
downloadgcc-6f72f1437ab068675e023c0dadd7eedbba90dfbe.zip
gcc-6f72f1437ab068675e023c0dadd7eedbba90dfbe.tar.gz
gcc-6f72f1437ab068675e023c0dadd7eedbba90dfbe.tar.bz2
graphite-scop-detection.c: Do not include cp/cp-tree.h.
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. From-SVN: r222087
Diffstat (limited to 'gcc')
-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 8538b25..6dd82e3 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 4512fe7..02e9e50 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))