http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55832
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-03 09:02:51 UTC --- Author: jakub Date: Thu Jan 3 09:02:41 2013 New Revision: 194836 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194836 Log: PR tree-optimization/55832 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and ABS_EXPR<x> < 0 folding use constant_boolean_node instead of integer_{one,zero}_node. * gcc.c-torture/compile/pr55832.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr55832.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog