Skip to content

stage2 fixes #11974

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 5 commits into from
Jul 1, 2022
Merged

stage2 fixes #11974

merged 5 commits into from
Jul 1, 2022

Conversation

andrewrk
Copy link
Member

@andrewrk andrewrk commented Jun 30, 2022

After this, behavior tests for x86_64-linux run clean on a debug LLVM; no assertions are tripped.

closes #11971
closes #11856

andrewrk added 4 commits June 30, 2022 18:33
This regressed; the plan9 linker code is crashing when trying to build
compiler-rt and we have no active plan9 maintainers involved in the Zig
project. Anyone is welcome to come over and take the role; however, it's
not one of the tier 1, 2, or 3 targets, so we will not be blocking
progress towards 1.0 on plan9.
The constant value lowering for unions was missing a check for whether
the payload was itself an unnamed struct. Lowerings of other types
already handle this case.

closes #11971
This can happen with pointers to zero-bit types.

This commit fixes an LLVM assertion being tripped.
@andrewrk andrewrk merged commit 2360f8c into master Jul 1, 2022
@andrewrk andrewrk deleted the fixfixfix branch July 1, 2022 21:29
TUSF pushed a commit to TUSF/zig that referenced this pull request May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant