diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-03 03:47:22 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-03 03:47:22 +0000 |
commit | 41c18990102e4ab843deecf9e960d8ac3a4fc698 (patch) | |
tree | c5940d475af6b9c54d559dc260ef19fbe60c76c9 /gcc/graphite.c | |
parent | 9eeea14edbbb58ab9c46bb6ca9a9641db92ed805 (diff) | |
download | gcc-41c18990102e4ab843deecf9e960d8ac3a4fc698.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144564 138bc75d-0d04-0410-961f-82ee72b054a4
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 69a72fc3c3d..9b36284e680 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 |