Commit 6f72f143 by Richard Biener Committed by Richard Biener

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
parent ab05af62
2015-04-14 Richard Biener <rguenther@suse.de> 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 PR tree-optimization/65758
* tree-ssa-ccp.c (get_value_from_alignment): Adjust mask test * tree-ssa-ccp.c (get_value_from_alignment): Adjust mask test
against -1. against -1.
......
...@@ -70,7 +70,6 @@ along with GCC; see the file COPYING3. If not see ...@@ -70,7 +70,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h" #include "tree-pass.h"
#include "sese.h" #include "sese.h"
#include "tree-ssa-propagate.h" #include "tree-ssa-propagate.h"
#include "cp/cp-tree.h"
#ifdef HAVE_isl #ifdef HAVE_isl
#include "graphite-poly.h" #include "graphite-poly.h"
...@@ -239,7 +238,7 @@ graphite_can_represent_scev (tree scev) ...@@ -239,7 +238,7 @@ graphite_can_represent_scev (tree scev)
the only nodes, which are disabled in case they are pointers to object the only nodes, which are disabled in case they are pointers to object
types, but this can be changed. */ 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; return false;
switch (TREE_CODE (scev)) switch (TREE_CODE (scev))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment