Skip to content

runtime_shrExact_overflow langref test fails on RISC-V #24304

Open
@alexrp

Description

@alexrp
docs
└─ langref
   └─ install generated to doc/langref.html
      └─ run exe docgen (langref.html)
         └─ WriteFile test_usingnamespace.out
            └─ run exe doctest (runtime_shrExact_overflow.out) failure
value: 42

The following command incorrectly succeeded:
./runtime_shrExact_overflow
error: example incorrectly compiled
error: the following command exited with error code 1:
./.zig-cache/o/8da2db431eaf832f8362553d664a8d96/doctest --zig /home/alexrp/zig1/build/debug/bin/zig --cache-root .zig-cache --zig-lib-dir lib/ -i /home/alexrp/zig1/doc/langref/runtime_shrExact_overflow.zig -o /home/alexrp/zig1/.zig-cache/o/212aeeb7f7c561eb98b09162ecdaba41/runtime_shrExact_overflow.out

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-riscv32-bit and 64-bit RISC-Vbackend-llvmThe LLVM backend outputs an LLVM IR Module.docsmiscompilationThe 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