r239146 - in /trunk/gcc: ChangeLog gimple.c tes...
ppalka@gcc.gnu.org
ppalka@gcc.gnu.org
Thu Aug 4 18:11:00 GMT 2016
Author: ppalka
Date: Thu Aug 4 18:11:08 2016
New Revision: 239146
URL: https://gcc.gnu.org/viewcvs?rev=239146&root=gcc&view=rev
Log:
Designate the widest case label to be the default label
gcc/ChangeLog:
* gimple.c (preprocess_case_label_vec_for_gimple): When the case
labels are exhaustive, designate the label with the widest
range to be the default label.
gcc/testsuite/ChangeLog:
* gcc.dg/switch-10.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/switch-10.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list