Skip to content
Snippets Groups Projects
Commit 201ae393 authored by Andrew Pinski's avatar Andrew Pinski Committed by Andrew Pinski
Browse files

re PR c/18715 (warning: "enumeration value not handled in switch" for '...' ranges)

2005-08-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/18715
        * c-common.c (c_do_switch_warnings): Look for a node where the enum's
        value is inbetween the range if we did not find an exact match.

2005-08-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/18175
        * gcc.dg/switch-warn-3.c: New test.

From-SVN: r103343
parent c85ba4fb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment