https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88660
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <l...@gcc.gnu.org>: https://gcc.gnu.org/g:f9eb0973edb2b4eed4cdbba7105b8af7afe5b547 commit r10-6360-gf9eb0973edb2b4eed4cdbba7105b8af7afe5b547 Author: Jeff Law <l...@redhat.com> Date: Thu Jan 30 14:09:41 2020 -0700 Mark switch expression as used to avoid bogus warning PR c/88660 * c-parser.c (c_parser_switch_statement): Make sure to request marking the switch expr as used. PR c/88660 * gcc.dg/pr88660.c: New test.