public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/18715] [4.0/4.1 Regression] warning: "enumeration value not handled in switch" for '...' ranges
Date: Mon, 22 Aug 2005 16:24:00 -0000	[thread overview]
Message-ID: <20050822162143.28312.qmail@sourceware.org> (raw)
In-Reply-To: <20041129115838.18715.fork0@users.sf.net>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-22 16:21 -------
Subject: Bug 18715

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2005-08-22 16:21:19

Modified files:
	gcc            : ChangeLog c-common.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: switch-warn-3.c 

Log message:
	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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9798&r2=2.9799
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&r1=1.649&r2=1.650
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5947&r2=1.5948
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/switch-warn-3.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18715


  parent reply	other threads:[~2005-08-22 16:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-29 11:58 [Bug c/18715] New: " fork0 at users dot sf dot net
2004-11-29 12:52 ` [Bug c/18715] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-14  6:02 ` pinskia at gcc dot gnu dot org
2004-12-14  6:31 ` pinskia at gcc dot gnu dot org
2004-12-14 14:35 ` pinskia at gcc dot gnu dot org
2005-03-20 23:34 ` [Bug c/18715] [4.0/4.1 " pinskia at gcc dot gnu dot org
2005-03-30 18:09 ` jsm28 at gcc dot gnu dot org
2005-04-05  1:42 ` pinskia at gcc dot gnu dot org
2005-04-08 21:48 ` mmitchel at gcc dot gnu dot org
2005-04-21  4:57 ` mmitchel at gcc dot gnu dot org
2005-07-08  1:34 ` mmitchel at gcc dot gnu dot org
2005-08-22 16:24 ` cvs-commit at gcc dot gnu dot org [this message]
2005-08-22 16:28 ` cvs-commit at gcc dot gnu dot org
2005-08-22 16:29 ` pinskia at gcc dot gnu dot org
2005-08-22 16:31 ` cvs-commit at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050822162143.28312.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).