Skip to content
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

Fix an ICE when translating some static expressions. #21986

Merged
merged 1 commit into from
Feb 7, 2015

Conversation

LeoTestard
Copy link
Contributor

Creating two identical static expressions involving casts of pointers to arrays
caused an assertion failure in librustc_trans.

cc @eddyb

@rust-highfive
Copy link
Collaborator

r? @Aatch

(rust_highfive has picked a reviewer for you, use r? to override)

@@ -0,0 +1,6 @@
static foo: [uint; 3] = [1, 2, 3];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should copy the license header from an existing test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. :)

Creating two identical static expressions involving casts of pointers to arrays
caused an assertion failure in librustc_trans.
@LeoTestard
Copy link
Contributor Author

r? @eddyb

@rust-highfive rust-highfive assigned eddyb and unassigned Aatch Feb 5, 2015
@eddyb
Copy link
Member

eddyb commented Feb 5, 2015

@bors r+ 47c2091 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 6, 2015
 Creating two identical static expressions involving casts of pointers to arrays
caused an assertion failure in librustc_trans.

cc @eddyb
@bors bors merged commit 47c2091 into rust-lang:master Feb 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants