------- Comment #10 from jakub at gcc dot gnu dot org 2008-10-16 12:33 ------- Subject: Bug 37664
Author: jakub Date: Thu Oct 16 12:32:01 2008 New Revision: 141171 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141171 Log: 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. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr37664.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37664