------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-01 
02:44 -------
Subject: Bug 20216

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]       2005-03-01 02:43:50

Modified files:
        gcc            : ChangeLog tree-chrec.c 

Log message:
        PR tree-optimization/20216
        * tree-chrec.c (tree_fold_factorial): Delete.
        (tree_fold_binomial): Change argument list to take a return type
        and change the type of K to unsigned int.  Rewrite to avoid explicit
        evaluation of factorials, and (recursively) calling fold to perform
        compile-time arithmetic.  Return NULL on (internal) overflow.
        (chrec_evaluate): Change type of K to an unsigned int.  Avoid
        calling tree_fold_binomial unnecessarily.  Return chrec_dont_know
        if any intermediate calculation overflows.
        (chrec_apply): Update call to chrec_evaluate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7617&r2=2.7618
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-chrec.c.diff?cvsroot=gcc&r1=2.12&r2=2.13



-- 


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

Reply via email to