https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72868
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue May 30 07:11:09 2017 New Revision: 248595 URL: https://gcc.gnu.org/viewcvs?rev=248595&root=gcc&view=rev Log: Backported from mainline 2016-08-11 Jakub Jelinek <ja...@redhat.com> PR c++/72868 * constexpr.c (label_matches): Handle case range expressions. * g++.dg/cpp1y/constexpr-switch4.C: New test. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-switch4.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/constexpr.c branches/gcc-5-branch/gcc/testsuite/ChangeLog