Skip to content

__aeabi_drsub test fails on armeb-linux-* #22061

@alexrp

Description

@alexrp
test-modules
└─ test-compiler-rt
   └─ run test compiler-rt-armeb-linux.4.19...6.11.5-eabihf-baseline-Debug 249/256 passed, 1 failed, 6 skipped
error: 'compiler_rt.arm.test.__aeabi_drsub' failed: actual 1.0000004768371582e0, not within absolute tolerance 1e-6 of expected -1e0
/home/alexrp/Source/ziglang/zig/lib/std/testing.zig:242:13: 0xb201d3 in expectApproxEqAbsInner__anon_40295 (test)
            return error.TestExpectedApproxEqAbs;
            ^
/home/alexrp/Source/ziglang/zig/lib/compiler_rt/arm.zig:256:9: 0xb20327 in test.__aeabi_drsub (test)
        try std.testing.expectApproxEqAbs(data[2], __aeabi_drsub(data[0], data[1]), 0.000001);
        ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-arm32-bit Armbackend-llvmThe LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behaviormiscompilationThe compiler reports success but produces semantically incorrect code.upstreamAn issue with a third party project that Zig uses.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions