diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2009-03-03 03:47:22 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2009-03-03 03:47:22 +0000 |
commit | 7d4fba4aaca3f36d15a719acb5c74cb7ff3966ec (patch) | |
tree | c5940d475af6b9c54d559dc260ef19fbe60c76c9 /gcc/graphite.c | |
parent | 10fc64a7a62231a36e4f76ce6eb2e9780e3d8d19 (diff) | |
download | gcc-7d4fba4aaca3f36d15a719acb5c74cb7ff3966ec.zip gcc-7d4fba4aaca3f36d15a719acb5c74cb7ff3966ec.tar.gz gcc-7d4fba4aaca3f36d15a719acb5c74cb7ff3966ec.tar.bz2 |
re PR middle-end/39335 (ICE in GCC 4.4 with -O[123] -floop-interchange)
2009-03-02 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/39335
* tree-parloops.c (canonicalize_loop_ivs): Call fold_convert
when the type precision of the induction variable should be
larger than the type precision of nit.
(gen_parallel_loop): Update use of canonicalize_loop_ivs.
* graphite.c (graphite_loop_normal_form): Same.
* tree-flow.h (canonicalize_loop_ivs): Update declaration.
* testsuite/gcc.dg/graphite/pr39335_1.c: New.
* testsuite/gcc.dg/graphite/pr39335.c: New.
From-SVN: r144564
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index 69a72fc..9b36284 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -2395,7 +2395,7 @@ graphite_loop_normal_form (loop_p loop) if (nb_reductions_in_loop (loop) > 0) return NULL_TREE; - return canonicalize_loop_ivs (loop, NULL, nit); + return canonicalize_loop_ivs (loop, NULL, &nit); } /* Record LOOP as occuring in SCOP. Returns true when the operation |