Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upBad codegen (most probably) on ARMv7 #42893
Comments
Mark-Simulacrum
added
the
O-ARM
label
Jun 25, 2017
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Let me take a look |
arielb1
added
the
T-compiler
label
Jun 25, 2017
This comment has been minimized.
This comment has been minimized.
|
This is supposed to occur on |
This comment has been minimized.
This comment has been minimized.
|
It's on |
This comment has been minimized.
This comment has been minimized.
|
Bug confirmed. |
This comment has been minimized.
This comment has been minimized.
|
This looks fixed on LLVM 5.0, looks like we need another bisect run. |
This comment has been minimized.
This comment has been minimized.
|
Looks like 4868a15090d0dbaa91b772e498eadc92cfdebd7a - [ARM] Temporarily disable globals promotion to constant pools to prevent miscompilation. That is going into LLVM 4.0.1, so we might just get that. LLVM 4.0.1 is actually just 21 commits:
|
arielb1
added a commit
to arielb1/rust
that referenced
this issue
Jun 27, 2017
arielb1
added a commit
to arielb1/rust
that referenced
this issue
Jun 28, 2017
bors
added a commit
that referenced
this issue
Jun 30, 2017
bors
closed this
in
#42930
Jun 30, 2017
bors
added a commit
that referenced
this issue
Jun 30, 2017
gaurikholkar
added a commit
to gaurikholkar/rust
that referenced
this issue
Jul 15, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
stjepang commentedJun 25, 2017
The build for PR #42882 failed on ARM machines only. The failure is baffling and makes no sense at all. I managed to reproduce it on my Raspberry Pi and then tried minimizing the code bit by bit. This is the smallest example I have that demonstrates the problem:
Running in debug mode is all right:
But running in release mode prints out weird stuff:
Environment:
cc @alexcrichton