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
This commit is contained in:
Richard Biener 2015-04-14 12:33:57 +00:00 committed by Richard Biener
parent ab05af624e
commit 6f72f1437a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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))