public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/33691] [4.3 Regression] Type checking error with bitwise and/or
2007-10-08 9:46 [Bug middle-end/33691] New: [4.3 Regression] Type checking error with bitwise and/or rguenth at gcc dot gnu dot org
@ 2007-10-08 9:46 ` rguenth at gcc dot gnu dot org
2007-10-08 14:44 ` rguenth at gcc dot gnu dot org
2007-10-08 14:45 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-08 9:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-10-08 09:46 -------
Mine.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-10-08 09:46:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33691
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/33691] New: [4.3 Regression] Type checking error with bitwise and/or
@ 2007-10-08 9:46 rguenth at gcc dot gnu dot org
2007-10-08 9:46 ` [Bug middle-end/33691] " rguenth at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-08 9:46 UTC (permalink / raw)
To: gcc-bugs
unsigned int mgaSetTexImages(int i)
{
return ((i | 0x40) & 0xffffffc0);
}
mga_texstate.c:67: error: type mismatch in binary expression
unsigned int
int
unsigned int
D.24173 = D.24172 & 63
--
Summary: [4.3 Regression] Type checking error with bitwise and/or
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, ice-checking
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33691
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/33691] [4.3 Regression] Type checking error with bitwise and/or
2007-10-08 9:46 [Bug middle-end/33691] New: [4.3 Regression] Type checking error with bitwise and/or rguenth at gcc dot gnu dot org
2007-10-08 9:46 ` [Bug middle-end/33691] " rguenth at gcc dot gnu dot org
@ 2007-10-08 14:44 ` rguenth at gcc dot gnu dot org
2007-10-08 14:45 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-08 14:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2007-10-08 14:44 -------
Subject: Bug 33691
Author: rguenth
Date: Mon Oct 8 14:44:14 2007
New Revision: 129128
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129128
Log:
2007-10-08 Richard Guenther <rguenther@suse.de>
PR middle-end/33691
PR middle-end/33694
PR middle-end/33696
* fold-const.c (fold_binary): Use the correct types when
folding (A | CST1) & CST2 to (A & CST2) | (CST1 & CST2).
(fold_binary): Use the correct types when folding
(-A) - B to (-B) - A.
(fold_unary): Use the correct types when folding ~(X).
* gcc.dg/pr33691.c: New testcase.
* gcc.dg/pr33694.c: Likewise.
* gcc.dg/pr33696.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/pr33691.c
trunk/gcc/testsuite/gcc.dg/pr33694.c
trunk/gcc/testsuite/gcc.dg/pr33696.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33691
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/33691] [4.3 Regression] Type checking error with bitwise and/or
2007-10-08 9:46 [Bug middle-end/33691] New: [4.3 Regression] Type checking error with bitwise and/or rguenth at gcc dot gnu dot org
2007-10-08 9:46 ` [Bug middle-end/33691] " rguenth at gcc dot gnu dot org
2007-10-08 14:44 ` rguenth at gcc dot gnu dot org
@ 2007-10-08 14:45 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-08 14:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2007-10-08 14:44 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33691
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-08 14:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-08 9:46 [Bug middle-end/33691] New: [4.3 Regression] Type checking error with bitwise and/or rguenth at gcc dot gnu dot org
2007-10-08 9:46 ` [Bug middle-end/33691] " rguenth at gcc dot gnu dot org
2007-10-08 14:44 ` rguenth at gcc dot gnu dot org
2007-10-08 14:45 ` rguenth at gcc dot gnu dot org
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).