Comments (3)
The failing test was combine_before_read_is_sound
, the placeholder value was Some(0)
, and the program was:
[PointerIncrement { amount: 82, position: Some(Position { start: 0, end: 0 }) }, Increment { amount: Wrapping(-28), offset: 0, position: Some(Position { start: 0, end: 0 }) }, MultiplyMove { changes: {1: Wrapping(-1)}, position: Some(Position { start: 0, end: 0 }) }, Read { position: Some(Position { start: 0, end: 0 }) }, PointerIncrement { amount: 72, position: Some(Position { start: 0, end: 0 }) }, PointerIncrement { amount: -77, position: Some(Position { start: 0, end: 0 }) }, PointerIncrement { amount: -24, position: Some(Position { start: 0, end: 0 }) }, PointerIncrement { amount: 30, position: Some(Position { start: 0, end: 0 }) }, Loop { body: [Write { position: Some(Position { start: 0, end: 0 }) }, PointerIncrement { amount: 19, position: Some(Position { start: 0, end: 0 }) }, Set { amount: Wrapping(23), offset: 0, position: Some(Position { start: 0, end: 0 }) }, Read { position: Some(Position { start: 0, end: 0 }) }], position: Some(Position { start: 0, end: 0 }) }]
from bfc.
Oddly, the test on Traivs failed with 'Different outputs!', whereas my quick and dirty failing test is giving 'Optimised program did not terminate properly':
#[test]
fn combine_before_read_sound_foo() {
let mut changes = HashMap::new();
changes.insert(1, Wrapping(-1));
let instrs = vec![PointerIncrement { amount: 82, position: Some(Position { start: 0, end: 0 }) },
Increment { amount: Wrapping(-28), offset: 0, position: Some(Position { start: 0, end: 0 }) },
MultiplyMove { changes: changes, position: Some(Position { start: 0, end: 0 }) },
Read { position: Some(Position { start: 0, end: 0 }) },
PointerIncrement { amount: 72, position: Some(Position { start: 0, end: 0 }) },
PointerIncrement { amount: -77, position: Some(Position { start: 0, end: 0 }) },
PointerIncrement { amount: -24, position: Some(Position { start: 0, end: 0 }) },
PointerIncrement { amount: 30, position: Some(Position { start: 0, end: 0 }) },
Loop { body:
vec![Write { position: Some(Position { start: 0, end: 0 }) },
PointerIncrement { amount: 19, position: Some(Position { start: 0, end: 0 }) },
Set { amount: Wrapping(23), offset: 0, position: Some(Position { start: 0, end: 0 }) },
Read { position: Some(Position { start: 0, end: 0 }) }],
position: Some(Position { start: 0, end: 0 }) }];
assert!(!transform_is_sound(instrs, combine_before_read, false, Some(0)).is_failure());
}
from bfc.
The build in question was job #55 and I've attached the log in case Travis discards old logs.
from bfc.
Related Issues (20)
- Beautiful Project! HOT 1
- Add REPL
- Max cell index HOT 1
- Missing License HOT 1
- Warnings sent to stdout
- Can this become a library on crates.io? HOT 3
- strip behave different for linux and mac
- Possible additions HOT 1
- Linker fails HOT 3
- Compilation time is exponential wrt. source size HOT 3
- "Pass is not initialized" on LLVM 8 HOT 10
- bfc hangs due to compile-time evaluation HOT 4
- cannot use `state` because it was mutably borrowed
- error: linking with `cc` failed: exit code: 1 HOT 5
- cargo build --release returns errors E0503 and E0592 (cannot use `state` because it was mutably borrowed) HOT 13
- Take in inputs on multiple lines
- Add license
- Core dump in LLVMBuildCall HOT 2
- Soundness issue in annotate_known_zero
- Mangled output of ANSI escape sequences in v1.11.0 and master branch HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bfc.