]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix PR46758: Do not use int_cst_value.
authorSebastian Pop <sebastian.pop@amd.com>
Thu, 23 Dec 2010 16:26:11 +0000 (16:26 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 23 Dec 2010 16:26:11 +0000 (16:26 +0000)
commitbd29eba228a2d866aac76c013d0425b28e8f08e1
treee554feece0bdea8a580635a59a666f5458d2c828
parent01be8516aa6411606f2629cdc19c6acf62511ca6
Fix PR46758: Do not use int_cst_value.

2010-12-23  Sebastian Pop  <sebastian.pop@amd.com>
    Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46758
* graphite-sese-to-poly.c (scan_tree_for_params_right_scev): Use
tree_int_to_gmp instead of int_cst_value.
(scan_tree_for_params_int): Same.
(scan_tree_for_params): Same.
(pdr_add_data_dimensions): Use ppl_set_inhomogeneous_tree.

* gcc.dg/graphite/run-id-pr46758.c: New.

Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r168211
gcc/ChangeLog
gcc/graphite-sese-to-poly.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/run-id-pr46758.c [new file with mode: 0644]