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

Program termination on returning from main #67

Open
Tracked by #65
ForNeVeR opened this issue Jan 16, 2022 · 0 comments
Open
Tracked by #65

Program termination on returning from main #67

ForNeVeR opened this issue Jan 16, 2022 · 0 comments
Labels
area:compiler Related to code compilation or type checking kind:feature New feature or request status:help-wanted Open for contributors

Comments

@ForNeVeR
Copy link
Owner

ForNeVeR commented Jan 16, 2022

According to the C standard, section 5.1.2.2.3 Program termination, the whole program should be terminated if the main function has exited.

We should make sure we follow this in a multi-threaded environment, and what's the current general direction other compilers/environments take in that regard.

@ForNeVeR ForNeVeR added area:compiler Related to code compilation or type checking status:help-wanted Open for contributors kind:feature New feature or request labels Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:compiler Related to code compilation or type checking kind:feature New feature or request status:help-wanted Open for contributors
Projects
None yet
Development

No branches or pull requests

1 participant