diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-05-05 23:09:16 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-05-05 23:09:16 +0200 |
commit | 32f579f6ebde02d94ac8fbd0379b1d0207dd9ac5 (patch) | |
tree | 04135baa9f723c92400dc6a7d81d23fdc587597b /gcc/ada/initialize.c | |
parent | 6e57a01df44693719cdaa9c552bfc3d729f5c095 (diff) | |
download | gcc-32f579f6ebde02d94ac8fbd0379b1d0207dd9ac5.zip gcc-32f579f6ebde02d94ac8fbd0379b1d0207dd9ac5.tar.gz gcc-32f579f6ebde02d94ac8fbd0379b1d0207dd9ac5.tar.bz2 |
re PR middle-end/39666 (spurious warning with ranged-switch statements)
PR middle-end/39666
* gimplify.c (gimplify_switch_expr): If case labels cover the whole
range of the type, but default label is missing, add it with one
of the existing labels instead of adding a new label for it.
* gcc.dg/pr39666-1.c: New test.
* gcc.dg/pr39666-2.c: Likewise.
* g++.dg/warn/Wuninitialized-4.C: Likewise.
* g++.dg/warn/Wuninitialized-5.C: Likewise.
* gfortran.dg/pr39666-1.f90: Likewise.
* gfortran.dg/pr39666-2.f90: Likewise.
From-SVN: r147136
Diffstat (limited to 'gcc/ada/initialize.c')
0 files changed, 0 insertions, 0 deletions