]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR tree-optimization/37664
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Oct 2008 12:32:01 +0000 (12:32 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Oct 2008 12:32:01 +0000 (12:32 +0000)
commitc2ffc126d31447d231dce2872700bbb415ec3af9
tree58f980d63d671515b7f80da62568737229e3d50e
parentf67192ed80f8f3040c6b0ff957f17d5024f837c5
PR tree-optimization/37664
* fold-const.c (fold_binary): When optimizing comparison with
highest or lowest type's value, don't consider TREE_OVERFLOW.

* gcc.c-torture/compile/pr37664.c: New test.

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