-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add diagnostic for stack allocations of 1 GB or more #119798
base: master
Are you sure you want to change the base?
Conversation
r? @wesleywiser (rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
fd9f9a6
to
8ee58b2
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
9fb4f4f
to
91dcd42
Compare
This comment has been minimized.
This comment has been minimized.
I have addressed all the comments, but not sure how to add the stdout file for 32 bit :
|
@rustbot review |
|
This comment has been minimized.
This comment has been minimized.
@iSwapna any updates on this? thanks |
Sorry, I am taking a class @Stanford CS103, taking every bit of my time outside of work. That's towards wanting a good grounding on CS/compilers as well, to do a better job here! There was a CI failure (fluent related) which I have not got an answer on how to address, the Zulip discussion is here: Issue 83060 - Regression with large stack arrays (2-4GB) If I could get an answer on how to address the CI issue, I can take care of this in a couple of weeks (after impending midterm) |
Sure, Thanks for the update. Just wanted to know if you are still working on it and have any updates. You should get a reply on zulip else you can bump it i guess |
will do! Thank you for checking! |
3305a06
to
96c95df
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
use ilog2 Update compiler/rustc_codegen_ssa/messages.ftl Co-authored-by: Michael Goulet <[email protected]> Run test only on 64 bit
Co-authored-by: Esteban Kuber <[email protected]>
Co-authored-by: Esteban Kuber <[email protected]>
Co-authored-by: Esteban Kuber <[email protected]>
Co-authored-by: Esteban Kuber <[email protected]>
Co-authored-by: Esteban Kuber <[email protected]>
Co-authored-by: Esteban Kuber <[email protected]>
27c6cc5
to
2f56984
Compare
This comment has been minimized.
This comment has been minimized.
The job Click to see the possible cause of the failure (guessed by this bot)
|
@@ -0,0 +1,21 @@ | |||
// This test checks that allocating a stack size of 1GB or more results in a warning | |||
//@build-pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we should turn the warning and test with build-fail ( since CI core dumps) or the warning needs to be an error. The failure is in doc-tests. I believe it's the latter, but want to be sure. @estebank
Add diagnostic for stack allocations of 1 GB or more
Zulip conversation [here](Issue 83060 - Regression with large stack arrays (2-4GB))
Do I generate an ICE or issue a warning?
cc #83060