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

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Sep 11 11:35:00 GMT 2013


Author: jakub
Date: Wed Sep 11 11:35:51 2013
New Revision: 202494

URL: http://gcc.gnu.org/viewcvs?rev=202494&root=gcc&view=rev
Log:
	PR tree-optimization/58385
	* fold-const.c (build_range_check): If both low and high are NULL,
	use omit_one_operand_loc to preserve exp side-effects.

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

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr58385.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list