public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/20216] [4.0 Regression] Simple loop runs out of stack at -O1
Date: Tue, 01 Mar 2005 16:28:00 -0000	[thread overview]
Message-ID: <20050301162818.16217.qmail@sourceware.org> (raw)
In-Reply-To: <20050225212929.20216.fjahanian@apple.com>


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

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	sayle@gcc.gnu.org	2005-03-01 16:27:51

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&only_with_tag=gcc-4_0-branch&r1=2.7592.2.15&r2=2.7592.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-chrec.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.12&r2=2.12.12.1



-- 


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


  parent reply	other threads:[~2005-03-01 16:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-26 14:26 [Bug tree-optimization/20216] New: " fjahanian at apple dot com
2005-02-26 15:28 ` [Bug tree-optimization/20216] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-02-26 16:13 ` fjahanian at apple dot com
2005-02-26 16:25 ` pinskia at gcc dot gnu dot org
2005-02-27  4:32 ` hp at gcc dot gnu dot org
2005-02-27  4:37 ` hp at gcc dot gnu dot org
2005-02-27  8:45 ` dberlin at gcc dot gnu dot org
2005-02-27 13:06 ` fjahanian at apple dot com
2005-02-27 13:21 ` dberlin at dberlin dot org
2005-02-27 21:03 ` pinskia at gcc dot gnu dot org
2005-03-01  2:44 ` cvs-commit at gcc dot gnu dot org
2005-03-01 15:13 ` [Bug tree-optimization/20216] [4.0 " pinskia at gcc dot gnu dot org
2005-03-01 16:23 ` cvs-commit at gcc dot gnu dot org
2005-03-01 16:28 ` cvs-commit at gcc dot gnu dot org [this message]
2005-03-01 17:06 ` pinskia at gcc dot gnu dot org
     [not found] <bug-20216-7508@http.gcc.gnu.org/bugzilla/>
2007-06-26  1:18 ` geoffk at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050301162818.16217.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).