-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Clang runs OOM when checking for constant initialization of array #51054
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Should be fixed with 48bb5f4 |
*** Bug llvm/llvm-bugzilla-archive#52530 has been marked as a duplicate of this bug. *** |
reopening as the fix was reverted due to test failures on some platforms. |
mentioned in issue llvm/llvm-bugzilla-archive#51843 |
mentioned in issue llvm/llvm-bugzilla-archive#52530 |
IIUC this only got reverted due to some mechanical problems with the test. I've relanded it, running the test only on linux. |
This bug still exists with unions in clang-18.1.3
|
Extended Description
Results in clang consuming huge memory (tried with ~190GiB) and OOMing in the end. A sample backtrace looks like:
All of the backtrace samples I grabbed had
checkForConstantInitialization
as LCA.The text was updated successfully, but these errors were encountered: