[Bug c++/20008] [4.0 Regression] internal compiler error: in expand_case, at stmt.c:2397

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 18 18:29:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-18 12:21 -------
Subject: Bug 20008

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	aoliva@gcc.gnu.org	2005-02-18 12:20:50

Modified files:
	gcc            : ChangeLog stmt.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/opt: switch4.C 

Log message:
	gcc/ChangeLog:
	PR c++/20008
	* stmt.c (expand_case): Don't assume cleanup_tree_cfg will remove
	cases that are out-of-range for the index type.
	gcc/testsuite/ChangeLog:
	PR c++/20008
	* g++.dg/opt/switch4.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7522&r2=2.7523
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stmt.c.diff?cvsroot=gcc&r1=1.415&r2=1.416
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5046&r2=1.5047
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/switch4.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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



More information about the Gcc-bugs mailing list