[bug 618] marked fixed, but dstress bug_optimize_294 showing some failures still

Thomas Kuehne thomas-dloop at kuehne.cn
Sat Jan 20 03:04:05 PST 2007


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

Brad Roberts schrieb am 2007-01-19:
> http://d.puremagic.com/issues/show_bug.cgi?id=618
>
> builds and runs for me: C, F, H, K
>
> fails to build for me:
>    D:  bug_optimize_294_D.d(7): Error: incompatible types for 
> ((_D7dstress3run1b18bug_optimize_294_D10__T3FooTaZ3Foo6__initZ) != 
> (_D7dstress3run1b18bug_optimize_294_D10__T3FooTgZ3Foo6__initZ)): 
> 'Foo!(char)' and 'Foo!(byte)'
>
> segv's at runtime:
>    G:  Program received signal SIGSEGV, Segmentation fault.
> 0x0804a09b in _Dmain () at bug_optimize_294_G.d:7
> 7               if ((Foo!(char)).init == (Foo!(char)).init){
>
>
> So.. the dstress results for C, F, H, K don't seem to match what you're 
> seeing, Thomas.  I'm running on a 32bit linux box and testing with dmd 1.00.

I've fixed a few  copy'n paste errors in the test cases. The differences
were moste likely caused because you tested

dmd source.d && ./source ; echo PASSED

while it should have been

dmd source.d && ./source && echo PASSED || echo FAILED

("dmd -run" can't be used because it will return "0" regardless of
"./source"'s return code)

Thomas


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

iD8DBQFFsfQwLK5blCcjpWoRAnCvAJ957q8fbneCNfKSReoZXEcfot0yxgCgo/j7
VDj8lktygyGTsunvp1Vkcb0=
=KWMf
-----END PGP SIGNATURE-----


More information about the Digitalmars-d-bugs mailing list