public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/33693] [4.3 Regression] Type checking error with bitwise xor/and
2007-10-08 12:12 [Bug middle-end/33693] New: [4.3 Regression] Type checking error with bitwise xor/and rguenth at gcc dot gnu dot org
@ 2007-10-08 12:12 ` rguenth at gcc dot gnu dot org
2007-10-08 15:24 ` rguenth at gcc dot gnu dot org
2007-10-08 15:32 ` 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 12:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-10-08 12:12 -------
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 12:12:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33693
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/33693] New: [4.3 Regression] Type checking error with bitwise xor/and
@ 2007-10-08 12:12 rguenth at gcc dot gnu dot org
2007-10-08 12:12 ` [Bug middle-end/33693] " 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 12:12 UTC (permalink / raw)
To: gcc-bugs
unsigned long modify_field (unsigned long mask, long fieldval)
{
return (~fieldval & ~mask);
}
value.2.min.i: In function 'modify_field':
value.2.min.i:2: error: type mismatch in binary expression
long unsigned int
long int
long unsigned int
D.1544 = fieldval | mask
value.2.min.i:2: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.3 Regression] Type checking error with bitwise
xor/and
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=33693
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/33693] [4.3 Regression] Type checking error with bitwise xor/and
2007-10-08 12:12 [Bug middle-end/33693] New: [4.3 Regression] Type checking error with bitwise xor/and rguenth at gcc dot gnu dot org
2007-10-08 12:12 ` [Bug middle-end/33693] " rguenth at gcc dot gnu dot org
@ 2007-10-08 15:24 ` rguenth at gcc dot gnu dot org
2007-10-08 15:32 ` 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 15:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2007-10-08 15:24 -------
Subject: Bug 33693
Author: rguenth
Date: Mon Oct 8 15:23:49 2007
New Revision: 129130
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129130
Log:
2007-10-08 Richard Guenther <rguenther@suse.de>
PR middle-end/33693
PR middle-end/33695
PR middle-end/33697
* fold-const.c (fold_binary): Use correct types in folding
of a * (1 << b) to (a << b). Likewise for ~A & ~B to ~(A | B)
and building of RROTATE_EXPR.
* gcc.dg/pr33693.c: New testcase.
* gcc.dg/pr33695.c: Likewise.
* gcc.dg/pr33697.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/pr33693.c
trunk/gcc/testsuite/gcc.dg/pr33695.c
trunk/gcc/testsuite/gcc.dg/pr33697.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33693
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/33693] [4.3 Regression] Type checking error with bitwise xor/and
2007-10-08 12:12 [Bug middle-end/33693] New: [4.3 Regression] Type checking error with bitwise xor/and rguenth at gcc dot gnu dot org
2007-10-08 12:12 ` [Bug middle-end/33693] " rguenth at gcc dot gnu dot org
2007-10-08 15:24 ` rguenth at gcc dot gnu dot org
@ 2007-10-08 15:32 ` 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 15:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2007-10-08 15:32 -------
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=33693
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-08 15:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-08 12:12 [Bug middle-end/33693] New: [4.3 Regression] Type checking error with bitwise xor/and rguenth at gcc dot gnu dot org
2007-10-08 12:12 ` [Bug middle-end/33693] " rguenth at gcc dot gnu dot org
2007-10-08 15:24 ` rguenth at gcc dot gnu dot org
2007-10-08 15:32 ` 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).