This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r184927 - in /trunk/gcc: ChangeLog testsuite/Ch...


Author: jakub
Date: Mon Mar  5 12:27:55 2012
New Revision: 184927

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184927
Log:
	PR tree-optimization/51721
	* tree-vrp.c (register_edge_assert_for_2): If comparing
	lhs of right shift by constant with an integer constant,
	add ASSERT_EXPRs for the rhs1 of the right shift.

	* gcc.dg/tree-ssa/vrp63.c: New test.
	* gcc.dg/pr51721.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr51721.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp63.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]