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/19060] [4.0 Regression] Miscompiling of if and "long long"
Date: Sat, 15 Jan 2005 09:46:00 -0000	[thread overview]
Message-ID: <20050115094629.12873.qmail@sourceware.org> (raw)
In-Reply-To: <20041217182932.19060.wanderer@rsu.ru>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-15 09:46 -------
Subject: Bug 19060

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jakub@gcc.gnu.org	2005-01-15 09:46:10

Modified files:
	gcc            : ChangeLog fold-const.c tree-ssa-dom.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/execute: 20050104-1.c 

Log message:
	PR tree-optimization/19060
	* tree-ssa-dom.c (extract_range_from_cond) <case LT_EXPR, GT_EXPR>:
	Return 0 if op1 <= TYPE_MIN_VALUE () resp. op1 >= TYPE_MAX_VALUE ().
	(simplify_cond_and_lookup_avail_expr): Add assert for dummy == 0
	and handle extract_range_from_cond returning false.
	* fold-const.c (fold): Optimize comparisons with min/max even for
	width > HOST_BITS_PER_WIDE_INT.
	
	* gcc.c-torture/execute/20050104-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7133&r2=2.7134
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.492&r2=1.493
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-dom.c.diff?cvsroot=gcc&r1=2.81&r2=2.82
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4889&r2=1.4890
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20050104-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


  parent reply	other threads:[~2005-01-15  9:46 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-17 18:29 [Bug libstdc++/19060] New: fstream.tellp() result not changed after some output wanderer at rsu dot ru
2004-12-17 18:31 ` [Bug libstdc++/19060] " wanderer at rsu dot ru
2004-12-17 18:31 ` wanderer at rsu dot ru
2004-12-17 18:33 ` pinskia at gcc dot gnu dot org
2004-12-17 18:44 ` wanderer at rsu dot ru
2004-12-18 20:08 ` wanderer at rsu dot ru
2004-12-19  0:03 ` pcarlini at suse dot de
2004-12-24  0:05 ` wanderer at rsu dot ru
2004-12-31 11:08 ` pcarlini at suse dot de
2004-12-31 17:13 ` wanderer at rsu dot ru
2004-12-31 17:15 ` wanderer at rsu dot ru
2004-12-31 17:16 ` wanderer at rsu dot ru
2004-12-31 17:17 ` wanderer at rsu dot ru
2004-12-31 17:58 ` wanderer at rsu dot ru
2004-12-31 17:58 ` wanderer at rsu dot ru
2004-12-31 17:59 ` wanderer at rsu dot ru
2004-12-31 18:20 ` pinskia at gcc dot gnu dot org
2004-12-31 18:29 ` pcarlini at suse dot de
2004-12-31 18:39 ` wanderer at rsu dot ru
2004-12-31 19:06 ` [Bug tree-optimization/19060] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-31 19:13 ` pinskia at gcc dot gnu dot org
2004-12-31 19:24 ` pcarlini at suse dot de
2004-12-31 19:27 ` pcarlini at suse dot de
2004-12-31 19:38 ` belyshev at depni dot sinp dot msu dot ru
2004-12-31 19:40 ` pinskia at gcc dot gnu dot org
2005-01-04 17:18 ` [Bug tree-optimization/19060] [4.0 Regression] Miscompiling of if and "long long" jakub at gcc dot gnu dot org
2005-01-04 18:42 ` pinskia at gcc dot gnu dot org
2005-01-14 20:57 ` wanderer at rsu dot ru
2005-01-15  9:46 ` cvs-commit at gcc dot gnu dot org [this message]
2005-01-15 12:47 ` steven at gcc dot gnu dot org
2005-01-15 12:48   ` Andreas Tobler
2005-01-15 12:48 ` toa at pop dot agri dot ch
2005-01-15 12:53 ` andreast at gcc dot gnu dot org
2005-01-15 13:05 ` andreast at gcc dot gnu dot org
2005-01-15 13:12 ` wanderer at rsu dot ru
2005-01-15 14:56 ` jakub at gcc dot gnu dot org
2005-01-15 15:06 ` wanderer at rsu dot ru

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=20050115094629.12873.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).