[Issue 6228] ICE(e2ir.c:1323, 2.053) on {auto x = (*ptr) ^^ y} with const integer types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 29 21:12:04 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6228
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
CC| |yebblies at gmail.com
--- Comment #1 from yebblies <yebblies at gmail.com> 2011-06-30 14:07:07 EST ---
The bug is that a ^^ b can be incorrectly const folded when b is 0 and a is
integral but not an integral literal.
void main() {
int* ptr;
auto x = (*ptr) ^^ 0;
}
https://github.com/D-Programming-Language/dmd/pull/179
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list