-
-
Notifications
You must be signed in to change notification settings - Fork 271
Merge upstream stable #5029
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
Merged
Merged
Merge upstream stable #5029
+24,981
−21,463
Conversation
This file contains hidden or 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
Update frontend.h
* Make `Dysmbol.size()` return a `ulong` instead of a `uinteger_t`. Mangling is not a problem for return types, and this allows up to remove some `import dmd.globals;` * Move `Ungag` to `dsymbolsem.d`
…r when (dlang/dmd!21616) appending to a large array that could potentially use extend, when the requested array size is within a certain size for a multiple of pages. The calculation had the wrong sign for the large padding (the 2 size_t + 1 byte), which made it end up sending a number very close to size_t.max into the extend function. This affected both appending and setting length performance, though appending also had a grow factor which may have mitigated this somewhat.
The musl definition can be found at https://git.musl-libc.org/cgit/musl/tree/arch/mips/bits/stat.h?id=8fd5d031876345e42ae3d11cc07b962f8625bc3b Signed-off-by: Andrei Horodniceanu <[email protected]>
As pointed out in dlang/dmd!21249, Musl doesn't implement *64 versions of these functions because off_t is always 64 bits. However there are aliases defined if `_USE_LARGEFILE64_SOURCE` is true.
The musl definition can be found at https://git.musl-libc.org/cgit/musl/tree/include/sched.h?id=8fd5d031876345e42ae3d11cc07b962f8625bc3b#n19 Tested that the struct has the correct size on x86_64 and x86 musl with and without -version=CRuntime_Musl_Pre_Time64 Signed-off-by: Andrei Horodniceanu <[email protected]>
Member
Author
|
Almost green; AFAICT just need to check:
|
thread is unregistered (and therefore will not be paused).
… slice (dlang/dmd!22009) should not reallocate if it will fit in the block.
Cherry-pick commits from master for 2.112.0
… blunt `-betterC` in error messages
…disabled opCast (dlang/dmd!22215)
Member
Author
d7cab3c to
d18e7c9
Compare
Fixes druntime-test-importc_compare for Apple targets, which depends on the new predefined version.
…mizations on AArch64
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.
No description provided.