Skip to content

The const propagator cannot trace references. - #73613

Merged
bors merged 1 commit into
rust-lang:masterfrom
oli-obk:const_prop_miscompile
Jun 24, 2020
Merged

bors merged 1 commit into
rust-lang:masterfrom
oli-obk:const_prop_miscompile

Conversation

@oli-obk

@oli-obk oli-obk commented Jun 22, 2020

Copy link
Copy Markdown
Contributor

Thus we avoid propagation of a local the moment we encounter references to it.

fixes #73609

cc @RalfJung

r? @wesleywiser

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. stable-accepted Accepted for backporting to the compiler in the stable channel. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConstProp miscompilation around references