[Bug 57] Comparing small structs fails

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Thu May 30 01:50:07 PDT 2013


http://bugzilla.gdcproject.org/show_bug.cgi?id=57

--- Comment #10 from Iain Buclaw <ibuclaw at gdcproject.org> 2013-05-30 08:50:07 UTC ---
(In reply to comment #9)
> Unfortunately I can still reproduce it.
> 
> Using GCC 4.8.0, GDC revision ed839f8a16e84d0eddaac3100dae4905ebcd58e9.
> Happens only without optimization and only on 64 bit.
> 
> Compiled using "/opt/gdc/bin/gdc smallstruct.d"

Are you 'sure' ? :)

_D11smallstruct5funcAFZS11smallstruct1S:
  movq    $0, (%rax)
  movq    $0, 8(%rax)
  movl    $4, -24(%rbp)
  movq    $42, -16(%rbp)
  movq    -24(%rbp), %rax
  movq    -16(%rbp), %rdx


_Dmain:
  movq    $0, (%rax)
  movq    $0, 8(%rax)
  movl    $4, -64(%rbp)
  movq    $42, -56(%rbp)
  call    _D11smallstruct5funcAFZS11smallstruct1S

-- 
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