This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33694] New: [4.3 Regression] Type checking error with negation
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2007 12:22:11 -0000
- Subject: [Bug middle-end/33694] New: [4.3 Regression] Type checking error with negation
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
__SIZE_TYPE__ cnfs_mapcntl(void *p, long pagesize)
{
return ~(__SIZE_TYPE__)(pagesize - 1);
}
cnfs.2.min.i: In function 'cnfs_mapcntl':
cnfs.2.min.i:2: error: type mismatch in unary expression
long unsigned int
long int
D.1543 = -pagesize
cnfs.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 negation
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=33694