-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
arch-mips6464-bit MIPS64-bit MIPSbackend-llvmThe LLVM backend outputs an LLVM IR Module.The LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavior
Milestone
Description
Zig Version
Steps to Reproduce and Observed Behavior
zig test -target mips64-linux test/behavior/maximum_minimum.zig --test-cmd qemu-mips64 --test-cmd-bin
5/16 maximum_minimum.test.@min/max for floats...FAIL (TestExpectedEqual)
/home/alexrp/Source/zig/lib/std/testing.zig:97:17: 0x10e1e8f in expectEqualInner__anon_16662 (test)
return error.TestExpectedEqual;
^
/home/alexrp/Source/zig/test/behavior/maximum_minimum.zig:134:13: 0x10e1ff7 in doTheTest__anon_16655 (test)
try expectEqual(x, @min(x, y));
^
/home/alexrp/Source/zig/test/behavior/maximum_minimum.zig:151:9: 0x10e25db in test.@min/max for floats (test)
try S.doTheTest(T);
^
The failure is specific to the c_longdouble case.
Expected Behavior
No failure.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arch-mips6464-bit MIPS64-bit MIPSbackend-llvmThe LLVM backend outputs an LLVM IR Module.The LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavior