http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7127 FYI, current GCC both includes test cases and a fix for this problem. It also includes some more useful -Wswitch flags: -Wswitch-enum -Wswitch-default.