[Bug 57] Comparing small structs fails
    gdc-bugzilla at gdcproject.org 
    gdc-bugzilla at gdcproject.org
       
    Wed May 29 10:56:36 PDT 2013
    
    
  
http://bugzilla.gdcproject.org/show_bug.cgi?id=57
--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject.org> 2013-05-29 17:56:36 UTC ---
(In reply to comment #5)
> Nice work!
> 
> But I can still reproduce this with the posted test case (GCC 4.8.0) if I
> compile without optimization. With -O2 or higher it works fine.
> 
Drats - should have tried that test case.... 
> 
> BTW: Do we also have to add the fillHoles code to StructInitializer::toDt?
Shouldn't be needed because of the dt_zeropad that pads out the rest of the
structure.  Though we can certainly skip over the logic in that routine by
checking if sd->zeroInit.
-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
    
    
More information about the D.gnu
mailing list