Skip to content

Miscompilation of functions with non-byte-multiple types on i386 #8734

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

Open
Tracked by #1929 ...
LemonBoy opened this issue May 10, 2021 · 1 comment
Open
Tracked by #1929 ...

Miscompilation of functions with non-byte-multiple types on i386 #8734

LemonBoy opened this issue May 10, 2021 · 1 comment
Labels
arch-x86 32-bit x86 backend-llvm The LLVM backend outputs an LLVM IR Module. bug Observed behavior contradicts documented or intended behavior miscompilation The compiler reports success but produces semantically incorrect code. upstream An issue with a third party project that Zig uses.
Milestone

Comments

@LemonBoy
Copy link
Contributor

Noticed in #8686 but no ticket was open for that :(
LLVM patch here

@Vexu Vexu added bug Observed behavior contradicts documented or intended behavior upstream An issue with a third party project that Zig uses. arch-x86 32-bit x86 labels May 10, 2021
@Vexu Vexu added this to the 0.9.0 milestone May 10, 2021
@andrewrk andrewrk modified the milestones: 0.9.0, 0.10.0 May 19, 2021
@andrewrk andrewrk added miscompilation The compiler reports success but produces semantically incorrect code. backend-llvm The LLVM backend outputs an LLVM IR Module. labels Aug 3, 2023
@andrewrk andrewrk modified the milestones: 0.14.0, 0.12.0 Aug 3, 2023
This was referenced Aug 3, 2023
@rohlem
Copy link
Contributor

rohlem commented Aug 3, 2023

The linked upstream patch seems to have been merged since May 22nd 2021 (in before/since LLVM 13.0.0).
Have there been any further updates, failing tests, or observed issues since then?

@andrewrk andrewrk modified the milestones: 0.14.0, 0.14.1 Mar 1, 2025
@andrewrk andrewrk modified the milestones: 0.14.1, 0.15.0 Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-x86 32-bit x86 backend-llvm The LLVM backend outputs an LLVM IR Module. bug Observed behavior contradicts documented or intended behavior miscompilation The compiler reports success but produces semantically incorrect code. upstream An issue with a third party project that Zig uses.
Projects
None yet
Development

No branches or pull requests

4 participants