DMD-0.160 regressions

Thomas Kuehne thomas-dloop at kuehne.cn
Thu Jun 8 09:14:03 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Walter Bright schrieb am 2006-06-07:
>You can alter the inline assembler to pick the data off the stack 
>instead of static data, then it should work.

Should was the right word ^_^

# void main(){
#   float[] a = new float[4];
#   float[] b = new float[4];
#
#   version(noSegfault){
#      float[] c = new float[4];
#   }
#
#   asm{
#      movups XMM0, a;
#      movups b, XMM0;
#   }
# }

segfaults:
dmd a.d && ./a

doesn't segfault:
dmd -version=noSegfault a.d && ./a

Thomas

-----BEGIN PGP SIGNATURE-----

iD8DBQFEiFm03w+/yD4P9tIRAvxYAJ4tNlTWGgCprKYESdWAf5HkecmSTwCdGYv1
cs4NqTDbMTmT8kaIDhknPro=
=nieN
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list