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
merge stable #11118
Merged
Merged
merge stable #11118
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
MartinNowak
commented
May 9, 2020
- bump VERSION to v2.092.0-rc.1
- Revert "Fix Issues 20718, 15867, 12380 - Wrong location errors on const. folding / exp. optimization"
- Fix Issue 20795 - [dip1000] segfault on templated opEquals
- [squash] Move state to Target (where it can be reset via Target.deinitialize())
- Prevent redundant type semantic for va_list
- Fix issue 20779: compiler segfaults when struct contains itself When working with metaprogramming, the error message saying that the struct should not contain itself can get swallowed by gagging. In this case, only the segfault remains, leading to an unsatisfactory user experience. Fix the segfault by breaking the infinite recursion.
- [stable] dmd.dsymbolsem: Fix va_list check for pragma([printf,scanf]) ([stable] dmd.dsymbolsem: Fix va_list check for pragma([printf,scanf]) #11068)
- Add dmd.argtypes_aarch64 for the AAPCS64 ABI
- Introduce TypeTuple.empty global to prevent creating lots of empty TypeTuples
- Replace StructDeclaration.arg{1,2}type by a .argTypes TypeTuple
- dmd.root.filename: Restore C++ absolute() / ext() versions
- Fix C++ header regressions
- Tests
- Fix Issues 20718, 15867, 12380 - Wrong location errors on const. folding / exp. optimization
…ing / exp. optimization
As LDC uses them. They hadn't been removed from the C++ header yet.
[stable] dmd.root.filename: Restore C++ absolute() / ext() versions merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
[stable] Fix C++ header regressions merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
As a maximum of 2 argTypes is x86-centric; e.g., AArch64 supports up to 4 SIMD registers for a single (HFVA) type.
…peTuples As each of those empty instances heap-allocates a new Array as well. Similar to Loc.initial (which can be marked as const though because it's a struct, whereas the current code cannot handle a const TypeTuple ref).
Of course unused by DMD, but required for LDC. Returning a static array for HFVAs and small PODs stems from LDC's requirements to make LLVM happy.
…dlang#11068) * dmd.dsymbolsem: Fix va_list check for pragma([printf,scanf]) E.g., `va_list` is a struct for non-Apple ARM targets.
When working with metaprogramming, the error message saying that the struct should not contain itself can get swallowed by gagging. In this case, only the segfault remains, leading to an unsatisfactory user experience. Fix the segfault by breaking the infinite recursion.
…egfault-with-circular-struct-type Fix issue 20779: compiler segfaults when struct contains itself merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
[stable] Add dmd.argtypes_aarch64 for the AAPCS64 ABI merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>
When checking for pragma(printf/scanf). Also use a resolved type when declaring `_argptr` (required for LDC).
[stable] Prevent redundant type semantic for va_list merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>
Fix Issue 20795 - [dip1000] segfault on templated opEquals
Fix Issues 20718, 15867, 12380 - Wrong location errors on const. folding / exp. optimization merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
…st. folding / exp. optimization"
Revert "Fix Issues 20718, 15867, 12380 - Wrong location errors on const. folding / exp. optimization" merged-on-behalf-of: Florian <moonlightsentinel@disroot.org>
Thanks for your pull request, @MartinNowak! Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#11118" |
thewilsonator
approved these changes
May 9, 2020
ibuclaw
approved these changes
May 9, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.