diff options
author | Patrick Palka <ppalka@gcc.gnu.org> | 2016-08-04 18:11:08 +0000 |
---|---|---|
committer | Patrick Palka <ppalka@gcc.gnu.org> | 2016-08-04 18:11:08 +0000 |
commit | 938da3a58b989f983233eceb8be320ea1b478081 (patch) | |
tree | 8ee303ad04827e9a987b5e6b3b38386d5180a6c6 /gcc/cp | |
parent | 42183d034d47e05814c971b2911c847e2a700941 (diff) | |
download | gcc-938da3a58b989f983233eceb8be320ea1b478081.zip gcc-938da3a58b989f983233eceb8be320ea1b478081.tar.gz gcc-938da3a58b989f983233eceb8be320ea1b478081.tar.bz2 |
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.
From-SVN: r239146
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions