Skip to content

pass test failures on 32-bit systems #8366

@stevenfontanella

Description

@stevenfontanella

When running

cmake -G Ninja -DCMAKE_CXX_FLAGS="-m32" -DCMAKE_C_FLAGS="-m32" -DCMAKE_BUILD_TYPE=Debug .
ninja
python3 check.py lit

I get test failures in passes/O_fast-math.wast and passes/optimize-instructions-mvp.wast. Both tests give the wrong NaN:

$ "filecheck" "/usr/local/google/home/stevenfont/code/binaryen/test/lit/passes/O_fast-math.wast"
# command output:
/usr/local/google/home/stevenfont/code/binaryen/test/lit/passes/O_fast-math.wast:41:17: error: CHECK-NEXT: expected string not found in input
 ;; CHECK-NEXT: (f32.const -nan:0x23017a)
                ^
<stdin>:19:1: note: scanning from here
  (f32.const -nan:0x63017a)
^

error: command failed with exit status: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions