Fix PR43306: correct evolution_function_right_is_integer_cst.
commitc4ccbe87dae599b81683031c8b48e9f2459f668c
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Mar 2010 17:34:59 +0000 (13 17:34 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Mar 2010 17:34:59 +0000 (13 17:34 +0000)
tree59ee96a3f882ff306e3bca6a9946de2c16d2688d
parent94ba21de76678316108cb184d517133a66622525
Fix PR43306: correct evolution_function_right_is_integer_cst.

2010-03-09  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43306
* tree-chrec.c (evolution_function_right_is_integer_cst): CHREC_RIGHT
should be an INTEGER_CST.  Also handle CASE_CONVERT.
* gcc.dg/graphite/pr43306.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157434 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/testsuite/gcc.dg/graphite/pr43306.c [new file with mode: 0644]
gcc/tree-chrec.c