OSDN Git Service

Fix PR42327: use build_int_cst.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Dec 2010 15:27:50 +0000 (15:27 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Dec 2010 15:27:50 +0000 (15:27 +0000)
commitff2cd6d16915a0b5d8ebda9a07d51764cf428683
tree668496f7d548657f65ecf68df3be53bc300d3fa7
parentb978ac2ff4d14ff6b12814b4ac885810276b733a
Fix PR42327: use build_int_cst.

2010-12-07  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/42327
* tree-data-ref.c (omega_setup_subscript): Call build_int_cst
instead of using integer_minus_one_node.

* gcc.dg/tree-ssa/pr42327.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167548 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr42327.c [new file with mode: 0644]
gcc/tree-data-ref.c