r118498 - in /branches/gcc-4_2-branch/gcc: Chan...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Sun Nov 5 12:18:00 GMT 2006


Author: jakub
Date: Sun Nov  5 12:18:03 2006
New Revision: 118498

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118498
Log:
	PR middle-end/29695
	* fold-const.c (fold_ternary): Fix A < 0 ? <sign bit of A> : 0
	simplification.

	* gcc.c-torture/execute/pr29695-1.c: New test.
	* gcc.c-torture/execute/pr29695-2.c: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/pr29695-1.c
    branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/pr29695-2.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/fold-const.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list