[Bug tree-optimization/20742] [4.0 Regression] Hang in tree_ssa_iv_optimize_loop

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue May 3 23:05:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-03 23:05 -------
Subject: Bug 20742

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-rhl-branch
Changes by:	jakub@gcc.gnu.org	2005-05-03 23:05:32

Modified files:
	gcc            : ChangeLog Makefile.in params.def tree-chrec.c 
	                 tree-chrec.h tree-scalar-evolution.c 
	gcc/doc        : invoke.texi 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/compile: 20050423-1.c 

Log message:
	2005-05-04  Sebastian Pop  <sebastian.pop@cri.ensmp.fr>
	
	PR tree-optimization/20742
	* Makefile.in (tree-chrec.o): Depend on params.h.
	* params.def (PARAM_SCEV_MAX_EXPR_SIZE): New parameter with
	default value 20.
	* tree-chrec.c: Depend on params.h.  Replace build with buildN.
	(chrec_fold_plus_1): Fail with a chrec_don_know when the size of
	the expression exceeds PARAM_SCEV_MAX_EXPR_SIZE.
	(tree_contains_chrecs): Compute an estimation of the size of the
	given expression.
	* tree-chrec.h (tree_contains_chrecs): Modify its declaration.
	(tree_does_not_contain_chrecs): Update the use of tree_contains_chrecs.
	* tree-scalar-evolution.c (simple_iv): Ditto.
	* doc/invoke.texi (scev-max-expr-size): Documented.
	
	2005-05-04  Jakub Jelinek  <jakub@redhat.com>
	
	PR tree-optimization/20742
	* gcc.c-torture/compile/20050423-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=2.7592.2.10.2.27&r2=2.7592.2.10.2.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=1.1447.4.4&r2=1.1447.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/params.def.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=1.54.8.1&r2=1.54.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-chrec.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=2.12.14.2&r2=2.12.14.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-chrec.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=2.6&r2=2.6.16.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-scalar-evolution.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=2.17.6.1&r2=2.17.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=1.583.2.1.2.10&r2=1.583.2.1.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=1.5084.2.9.2.22&r2=1.5084.2.9.2.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20050423-1.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=NONE&r2=1.1.2.1



-- 


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



More information about the Gcc-bugs mailing list