Skip to content

[ICE] with -Z perf-stats #46725

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
leonardo-m opened this issue Dec 14, 2017 · 0 comments
Closed

[ICE] with -Z perf-stats #46725

leonardo-m opened this issue Dec 14, 2017 · 0 comments

Comments

@leonardo-m
Copy link

...>rustc -Z perf-stats my_test.rs
Total time spent computing SVHs:               0.000
Total time spent computing incr. comp. hashes: 0.000
Total number of incr. comp. hashes computed:   0
Total number of bytes hashed for incr. comp.:  0
error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: rustc 1.24.0-nightly (f8af59d95 2017-12-13) running on x86_64-pc-windows-gnu
thread 'rustc' panicked at 'attempt to divide by zero', src\librustc\session\mod.rs:639:18
varkor added a commit to varkor/rust that referenced this issue Dec 14, 2017
An invalid average now simply prints “N/A”. Fixes rust-lang#46725.
steveklabnik added a commit to steveklabnik/rust that referenced this issue Dec 15, 2017
Fix division-by-zero ICE in -Z perf-stats

An invalid average now simply prints “N/A”. Fixes rust-lang#46725.
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

No branches or pull requests

1 participant