[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 19 18:10:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-19 18:09 -------
Subject: Bug 23476

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dnovillo@gcc.gnu.org	2005-08-19 18:08:56

Modified files:
	gcc            : ChangeLog tree-cfgcleanup.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/compile: pr23476.c 

Log message:
	PR 23476
	* tree-cfgcleanup.c (cleanup_control_expr_graph): Fold the
	conditional expression before testing its value.
	
	PR 23476
	* gcc.c-torture/compile/pr23476.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9783&r2=2.9784
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-cfgcleanup.c.diff?cvsroot=gcc&r1=2.5&r2=2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5938&r2=1.5939
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/pr23476.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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



More information about the Gcc-bugs mailing list