http://d.puremagic.com/issues/show_bug.cgi?id=6228


yebblies <yebbl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |yebbl...@gmail.com


--- Comment #1 from yebblies <yebbl...@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: -------

Reply via email to