[Issue 8383] 64-bit ABI: unions not the same size as in C in some situations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 27 02:54:53 PST 2012


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2012-11-27 02:54:38 PST ---
With github head for D2, this gives sizeof a: 32
when compiled with -m64 on Linuxx86_64.
It only gives sizeof: a == 20 when compiled with -m32.
This is true even on 1.073, released five months before this bug report was
made.
So I cannot reproduce this at all. Did the original poster fail to use the -m64
flag?

It could of course have been an even older bug which was fixed before the start
of 2012.

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