r216072 - in /trunk/gcc: ChangeLog tree-switch-...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Oct 10 12:15:00 GMT 2014


Author: jakub
Date: Fri Oct 10 12:15:30 2014
New Revision: 216072

URL: https://gcc.gnu.org/viewcvs?rev=216072&root=gcc&view=rev
Log:
	PR tree-optimization/63464
	* tree-switch-conversion.c (struct case_bit_test): Remove
	hi and lo fields, add wide_int mask field.
	(emit_case_bit_tests): Add MAXVAL argument, rewrite uses of
	hi/lo fields into wide_int mask operations, optimize by pretending
	minval to be 0 if maxval is small enough.
	(process_switch): Adjust caller.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-switch-conversion.c



More information about the Gcc-cvs mailing list