This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix enumeration warnings in switch statements
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 11 Dec 2001 15:35:20 -0800
- Subject: Re: [PATCH]: Fix enumeration warnings in switch statements
- References: <Pine.LNX.4.33.0112101752160.19051-100000@www.eyesopen.com>
On Mon, Dec 10, 2001 at 06:02:31PM -0700, Roger Sayle wrote:
> * except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid
> compiler warning about enumeration values not being handled.
> * flow.c (find_regno_partial): Similarly add a default case.
Ok.
r~