[Bug optimization/12640] [tree-ssa] strlen builtin causes stack overflow building tk

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 13 01:04:00 GMT 2003


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-13 01:04 -------
Subject: Bug 12640

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-ssa-20020619-branch
Changes by:	steven@gcc.gnu.org	2003-11-13 01:04:19

Modified files:
	gcc            : ChangeLog.tree-ssa tree-ssa-ccp.c 

Log message:
	PR optimization/12640
	* tree-ssa-ccp.c (get_strlen): Don't follow the UD chain of a PHI argument if
	the DEF stmt for the argument is the PHI itself.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.852&r2=1.1.2.853
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-ccp.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.108&r2=1.1.2.109



-- 


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



More information about the Gcc-bugs mailing list