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 middle-end/17036] [3.5 Regression] ICE: (A >> N) & 1 ? (1 << N) : 0 where A of type unsigned int
Date: Tue, 17 Aug 2004 07:40:00 -0000	[thread overview]
Message-ID: <20040817074042.20693.qmail@sourceware.org> (raw)
In-Reply-To: <20040815165530.17036.bommar33@msu.edu>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-17 07:40 -------
Subject: Bug 17036

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bonzini@gcc.gnu.org	2004-08-17 07:40:23

Modified files:
	gcc            : ChangeLog fold-const.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: pr17036-1.c 

Log message:
	gcc/ChangeLog:
	2004-08-17  Paolo Bonzini  <bonzini@gnu.org>
	
	PR middle-end/17036
	* fold-const.c (fold): Check for integer operand when
	folding (A >> N) & 1 ? (1 << N) : 0.  Fix from Andrew
	Pinski  <pinskia@physics.uc.edu>.
	
	gcc/testsuite/ChangeLog:
	2004-08-17  Paolo Bonzini  <bonzini@gnu.org>
	
	* gcc.dg/pr17036-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4931&r2=2.4932
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.436&r2=1.437
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4145&r2=1.4146
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr17036-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


  parent reply	other threads:[~2004-08-17  7:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-15 16:55 [Bug c/17036] New: " bommar33 at msu dot edu
2004-08-15 16:57 ` [Bug c/17036] " bommar33 at msu dot edu
2004-08-15 17:05 ` [Bug middle-end/17036] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-08-15 18:05   ` Graham Stott
2004-08-15 18:05 ` graham dot stott at btinternet dot com
2004-08-15 18:57 ` bommar33 at msu dot edu
2004-08-16  7:19 ` paolo dot bonzini at polimi dot it
2004-08-17  7:40 ` cvs-commit at gcc dot gnu dot org [this message]
2004-08-17  8:19 ` pinskia 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=20040817074042.20693.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).