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] Backport fixes for Issue 18970 and 21164 #11971

Merged
merged 2 commits into from
Nov 16, 2020

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Nov 16, 2020

wilzbach and others added 2 commits November 16, 2020 15:29
With this change we now check for the existance
of a static if condition and will only proceed
if there is one.

The test doesn't use the imports folder due to problems
with path changes on the error message for windows.
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Auto-close Bugzilla Severity Description
18970 critical DMD segfault due to opDispatch
21164 normal segfault on incomplete static if

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#11971"

@dlang-bot dlang-bot merged commit b6a779e into dlang:dmd-cxx Nov 16, 2020
@ibuclaw ibuclaw deleted the dmd-cxx-ice branch November 16, 2020 16:58
kraj pushed a commit to kraj/gcc that referenced this pull request Nov 18, 2020
- Segmentation fault on incomplete static if.
- Segmentation fault resolving typeof() expression when gagging is on.

Reviewed-on: dlang/dmd#11971

gcc/d/ChangeLog:

	PR d/97842
	* dmd/MERGE: Merge upstream dmd b6a779e49
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.

5 participants