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

Merge upstream v2.106.0 #4539

Merged
merged 14 commits into from
Dec 3, 2023
Merged

Merge upstream v2.106.0 #4539

merged 14 commits into from
Dec 3, 2023

Conversation

kinke
Copy link
Member

@kinke kinke commented Dec 2, 2023

No description provided.

kinke and others added 14 commits November 5, 2023 22:23
As LDC needs it for its DMD-style inline asm parser. It was recently
converted to extern(D) in dlang/dmd!15728.
… (dlang/dmd!15791)

This preserves the `CatAssignExp` in the AST until the glue layer where
an error is printed in case this expression is used with `-betterC`.
This is required to happen in the glue layer as the semantic analysis
doesn't correctly distinguish when code needs to be generated.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
…ith align(N) > platform stack alignment (dlang/dmd!15820)
See: https://en.wikipedia.org/wiki/CPUID#EAX=80000008h:_Virtual_and_Physical_address_Sizes

This *might* fix Issue 24254, although I'd expect the read value for
that CPU to be 127 (*physical* cores minus 1), not the problematic 255.
This assert is hit when compiling a private codebase. I'm not sure
how it comes about, but there are apparently cases where the primary
template instance has a non-root `minst`, but has been added to a
root module's members already (so `memberOf` NOT identical to `minst`),
at the time the primary instance's `minst` is swapped-out with a
root `minst` from a sibling instance (in `templateInstanceSemantic()`).

Previously, the primary instance was appended to 2 root modules in
such a case, most likely causing it to be codegen'd twice.
To fix new fail_compilation/test24159.d.
@kinke kinke merged commit fb637c4 into ldc-developers:master Dec 3, 2023
23 checks passed
@kinke kinke deleted the merge_2.106.0 branch December 3, 2023 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants