OSDN Git Service

* tree-chrec.c (chrec_convert_1): Only fold (T2)(t +- x) to
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Dec 2009 12:47:40 +0000 (12:47 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Dec 2009 12:47:40 +0000 (12:47 +0000)
commit04bdcc7637d265d029ca16b825e6c8845e045537
tree5789822efe7fb747e4a9fe7b9270d1ab9afe0c66
parentb3f6f6371579def7ebf78376c7e96dd4f7ddc406
* tree-chrec.c (chrec_convert_1): Only fold (T2)(t +- x) to
(T2)t +- (T2)x if only integer types are involved.

* gcc.c-torture/compile/20091215-1.c: New test.

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