r149681 - in /branches/gcc-4_4-branch/gcc: Chan...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Jul 15 11:23:00 GMT 2009


Author: jakub
Date: Wed Jul 15 11:23:22 2009
New Revision: 149681

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149681
Log:
	PR middle-end/40747
	* fold-const.c (fold_cond_expr_with_comparison): When folding
	< and <= to MIN, make sure the MIN uses the same type as the
	comparison's operands.

	* gcc.c-torture/execute/pr40747.c: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr40747.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/fold-const.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list