is this an instance of the 16-byte struct bug

Daniel Davidson nospam at spam.com
Tue Nov 5 04:30:47 PST 2013


On Tuesday, 5 November 2013 at 09:34:47 UTC, John Colvin wrote:
>
> Can't reproduce on Git master x86_64 linux. Prints 0 no matter 
> what flags are used.

Mac - OS X 10.9 (13A603)

dmd -v
DMD64 D Compiler v2.064
Copyright (c) 1999-2013 by Digital Mars written by Walter Bright


bash-3.2$ rdmd --chatty --force /Users/user@/tmp/init.d
stat /tmp/.rdmd-502
stat /tmp/.rdmd-502/rdmd-init.d-7C1A09D7F9F238EF000AE7814A586BCD
'dmd' '-v' '-o-' '/Users/user/tmp/init.d' '-I/Users/user/tmp'
read 
/tmp/.rdmd-502/rdmd-init.d-7C1A09D7F9F238EF000AE7814A586BCD/rdmd.deps
which dmd
stat /Users/user/bin/dmd
'dmd' 
'-of/tmp/.rdmd-502/rdmd-init.d-7C1A09D7F9F238EF000AE7814A586BCD/init' 
'-od/tmp/.rdmd-502/rdmd-init.d-7C1A09D7F9F238EF000AE7814A586BCD/objs' 
'-I/Users/user/tmp' '/Users/user/tmp/init.d'
stat 
/tmp/.rdmd-502/rdmd-init.d-7C1A09D7F9F238EF000AE7814A586BCD/objs
rmdirRecurse 
/tmp/.rdmd-502/rdmd-init.d-7C1A09D7F9F238EF000AE7814A586BCD/objs
'/tmp/.rdmd-502/rdmd-init.d-7C1A09D7F9F238EF000AE7814A586BCD/init'
Segmentation fault: 11



More information about the Digitalmars-d mailing list