-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection of remaining Win64 issues (1) #1103
Comments
Are all math-related errors fixed? I asked because on Linux/PPC64le the only remaining druntime+Phobos test failures are all math precision related. |
Just disable |
@redstar: Yes, all math related tests pass without any further hacks. The PPC tests may fail due to a too restrictive |
Down to 6 now. |
|
The reason might be that we are running the test suite using |
Makes perfect sense - thx for the heads up. |
I just stepped through the optimized build, it fails the testNonvolatileRegister!("RDI") test, because RDI is used by some inlined code dragged in from Fiber.callImpl. Is llvm expected to preserve registers used in asm blocks within the same function? I doubt the test is valid. It might be ok if inlining of zeroRegister.call() is prohibited. |
Thx for digging, Rainer.
I'd vote for simply disabling that test for LDC release. Btw, this list of 3 issues was for D 2.067. 2.068 added more tests wrt. exception handling as you know, so the missing exception chaining support in |
Updated. The 2 remaining issues are negligible now that we have exception chaining etc. |
|
Current master (+ https://github.com/kinke/dmd-testsuite), LLVM 3.7, Visual Studio 2015, Win8 x64.
std.string-unittest-debug
leads to an ICE with the-g
switch; Debug info: Fixup value out of range #930 (probably an LLVM bug)core.thread-unittest
fails in release in line https://github.com/ldc-developers/druntime/blob/ldc/src/core/thread.d#L5467, a Win64-specific test. Debug is fine.Edit: fixed by Linkage type and COMDAT #1367runnable\cppa.d
complains about multiply defined C++ functions. The functions are implemented in the C++ file and in the D file, so maybe weak linkage is expected. The linker error can be worked around by usingREQUIRED_ARGS: -L/FORCE:MULTIPLE
in the test file.Edit: fixed by Fix a test in runnable/test42.d failing for 64-bit reals dlang/dmd#5158, already in LDC masterrunnable\test42.d
fails in line 1652: casting the result ofcast(real) ulong.max
back toulong
yields 0.Edit: disabledrunnable\ldc_extern_weak.d
fails in line 10. Apparently weak-linkage related too, but I haven't digged into it yet.Edit: fixed in masterrunnable\opover2.d
leads to an ICE with-inline -g[c]
; LLVM 3.7: dmd-testsuite-debug ICE wrt. debug infos and inlined functions #1032Edit: fixed by Properly mark stack slot for struct return as lvalue #1109runnable\sdtor.d
leads to an ICEEdit: fixed by Windows: replace forward slashes in cmdline source files by backslashes #1105fail_compilation\diag4479.d
fails with [...]The dmd-testsuite issues are identical for both debug and release.
Needless to say, it'd be awesome if we could fix all but the first issue for the 0.16 release. :)
The text was updated successfully, but these errors were encountered: