Skip to content

'-m32' FAIL: rust/execute/torture/match1.rs -O0 output pattern test #844

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

Closed
tschwinge opened this issue Dec 20, 2021 · 1 comment
Closed
Assignees
Labels

Comments

@tschwinge
Copy link
Member

At #841 commit 52ee02f "Add support for enums on the match expression", the new rust/execute/torture/match1.rs FAILs its output pattern test for -m32:

PASS: rust/execute/torture/match1.rs   -O0  (test for excess errors)
Setting LD_LIBRARY_PATH to .:.:
Execution timeout is: 300
spawn [open ...]
Foo::A
Foo::B
Foo::C x
Foo::D 20 0
PASS: rust/execute/torture/match1.rs   -O0  execution test
FAIL: rust/execute/torture/match1.rs   -O0  output pattern test
Output was:
Foo::A
Foo::B
Foo::C x
Foo::D 20 0

Should match:
Foo::A
Foo::B
Foo::C x
Foo::D 20 80

Same for other optimization levels.

@philberty
Copy link
Member

this was fixed in dd213da

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants