PR tree-optimization/57411
	* tree-vrp.c (simplify_cond_using_ranges): Verify the constant
	operand of the condition will bit into the new type when eliminating
	a cast feeding a condition.

	PR tree-optimization/57411
	* gcc.c-torture/execute/pr57144.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198582 138bc75d-0d04-0410-961f-82ee72b054a4
Fix typos in ChangeLog entries

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198583 138bc75d-0d04-0410-961f-82ee72b054a4