Skip to content

early exit ICE #4120

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
jesse99 opened this issue Dec 6, 2012 · 4 comments
Closed

early exit ICE #4120

jesse99 opened this issue Dec 6, 2012 · 4 comments
Labels
A-codegen Area: Code generation I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Milestone

Comments

@jesse99
Copy link
Contributor

jesse99 commented Dec 6, 2012

Was testing my code by injecting an early exit and found that it ICEd. Here is a repro (with rust 0.4):

// rustc early_exit.rs
fn main()
{
    libc::exit(0);
    error!("ack");
}
@jdm
Copy link
Contributor

jdm commented Dec 8, 2012

This looks like something I fixed. It should be tested against trunk.

@z0w0
Copy link
Contributor

z0w0 commented Feb 16, 2013

This can be closed, it's working on incoming now.

@catamorphism
Copy link
Contributor

I will add the test case before closing it.

@ghost ghost assigned catamorphism Feb 16, 2013
@catamorphism
Copy link
Contributor

Added the test case in a pending pull request; closing

RalfJung pushed a commit to RalfJung/rust that referenced this issue Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

4 participants