Skip to content

@intCast on vector segfault #11770

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

Closed
encendre opened this issue Jun 1, 2022 · 0 comments
Closed

@intCast on vector segfault #11770

encendre opened this issue Jun 1, 2022 · 0 comments
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Milestone

Comments

@encendre
Copy link

encendre commented Jun 1, 2022

Zig Version

0.10.0-dev.2431+0e6285c8f

Steps to Reproduce

Compile the following code with zig build-exe main.zig

// main.zig
pub fn main() !void {
    const a = @Vector(4, u32){1, 1, 1, 1};
    _ = @intCast(u32, a);
}

Expected Behavior

The compiler should compile the code successfuly

Actual Behavior

The compiler segfault ([1] 683085 segmentation fault (core dumped) zig build-exe main.zig)

@encendre encendre added the bug Observed behavior contradicts documented or intended behavior label Jun 1, 2022
@Vexu Vexu added the stage1 The process of building from source via WebAssembly and the C backend. label Jun 1, 2022
@Vexu Vexu added this to the 0.12.0 milestone Jun 1, 2022
wooster0 added a commit to wooster0/zig that referenced this issue May 28, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 28, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 28, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 28, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 28, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 28, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 28, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 28, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 28, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 29, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 29, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 29, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 29, 2023
wooster0 added a commit to wooster0/zig that referenced this issue May 29, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 2, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 6, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 13, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 15, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 17, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 18, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 19, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 19, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 20, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 27, 2023
wooster0 added a commit to wooster0/zig that referenced this issue Jun 27, 2023
@andrewrk andrewrk modified the milestones: 0.14.0, 0.11.0 Jul 3, 2023
TUSF pushed a commit to TUSF/zig that referenced this issue May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Projects
None yet
Development

No branches or pull requests

3 participants