Passes bootstrap, no regressions.
With this patch gcc bootstraps with graphite.
make BOOT_CFLAGS="-g -O2 -fgraphite-identity -floop-interchange -floop-block"
gcc/ChangeLog:
2015-08-12 Aditya Kumar <hiraditya@msn.com>
* graphite-scop-detection.c (stmt_simple_for_scop_p):
Constrain only on INTEGER_TYPE
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227150
138bc75d-0d04-0410-961f-
82ee72b054a4
+2015-08-24 Aditya Kumar <aditya.k7@samsung.com>
+
+ * graphite-scop-detection.c (stmt_simple_for_scop_p):
+ Constrain only on INTEGER_TYPE.
+
2015-08-24 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/67211
{
tree op = gimple_op (stmt, i);
if (!graphite_can_represent_expr (scop_entry, loop, op)
- /* We can not handle REAL_TYPE. Failed for pr39260. */
- || TREE_CODE (TREE_TYPE (op)) == REAL_TYPE)
+ /* We can only constrain on integer type. */
+ || (TREE_CODE (TREE_TYPE (op)) != INTEGER_TYPE))
{
if (dump_file && (dump_flags & TDF_DETAILS))
{