OSDN Git Service

2008-08-21 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Aug 2008 13:50:30 +0000 (13:50 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Aug 2008 13:50:30 +0000 (13:50 +0000)
commitb0464d7cbaef4239f9a240023309d48634f91a8e
tree2c88a7bf23506da56dbf279cd6b6354f7030423f
parentcb88692574ca59ec688fc3543578557dbfb7df23
2008-08-21  Richard Guenther  <rguenther@suse.de>

PR middle-end/36817
* tree-chrec.c (chrec_apply): Always call chrec_fold_plus which
makes sure to produce a result of the correct type.

* gcc.c-torture/compile/pr36817.c: New testcase.

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