r146695 - in /trunk/gcc: ChangeLog fold-const.c...

bonzini@gcc.gnu.org bonzini@gcc.gnu.org
Fri Apr 24 10:29:00 GMT 2009


Author: bonzini
Date: Fri Apr 24 10:29:18 2009
New Revision: 146695

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146695
Log:
2009-04-24  Paolo Bonzini  <bonzini@gnu.org>

	PR middle-end/39867
	* fold-const.c (fold_cond_expr_with_comparison): When folding
	> and >= to MAX, make sure the MAX uses the same type as the
	comparison operands.

testsuite:
2009-04-24  Paolo Bonzini  <bonzini@gnu.org>

	PR middle-end/39867
	* gcc.dg/pr39867.c: New.


Added:
    trunk/gcc/testsuite/gcc.dg/pr39867.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list