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

[dmd-cxx] Fix Issue 20092 and Issue 20356 - recursive expansion/optimization fixes #11621

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Aug 25, 2020

Adds enum global.recursionLimit and uses it in all places where such errors can occur (#10685).

Adds enum global.recursionLimit and uses it in all places where such
errors can occur.
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Auto-close Bugzilla Severity Description
20092 critical void[1] auto slicing makes the compiler hang

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "dmd-cxx + dmd#11621"

@dlang-bot dlang-bot merged commit cb4a96f into dlang:dmd-cxx Aug 25, 2020
@ibuclaw ibuclaw deleted the dmd-cxx-recursion branch August 25, 2020 07:24
kraj pushed a commit to kraj/gcc that referenced this pull request Aug 26, 2020
Fixes both a bug where compilation would hang, and an issue where recursive
template limits are hit too early.

Reviewed-on: dlang/dmd#11621

gcc/d/ChangeLog:

	* dmd/MERGE: Merge upstream dmd cb4a96fae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants