[Issue 3789] Structs members that require non-bitwise comparison not	correctly compared
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Apr 23 10:47:52 PDT 2013
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=3789
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com
--- Comment #26 from Walter Bright <bugzilla at digitalmars.com> 2013-04-23 10:47:33 PDT ---
(In reply to comment #22)
> Just want to note the compiler often can't optimize a comparison to be bitwise
> because of align gaps which also should be ignored to conform `opEquals`
> behavior.
The holes must be initialized to zero, by definition, so that a bitwise
comparison can be done.
-- 
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