-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.miscompilationThe compiler reports success but produces semantically incorrect code.The compiler reports success but produces semantically incorrect code.
Milestone
Description
Zig Version
0.12.0-dev.1840+d787b78d2
Steps to Reproduce and Observed Behavior
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* /var/no-tmpfs/portage/dev-lang/zig-9999/work/zig-9999/build/zig2.c:3378343: warning: assignment to 'const uint16_t (*)[16]' {aka 'const short unsigned int (*)[16]'} from incompatible pointer type 'const uint16_t *' {aka 'const short unsigned int *'} [-Wincompatible-pointer-types]
* /var/no-tmpfs/portage/dev-lang/zig-9999/work/zig-9999/build/zig2.c:1493587: warning: 'memcpy' reading 16 bytes from a region of size 10 [-Wstringop-overread]
* /var/no-tmpfs/portage/dev-lang/zig-9999/work/zig-9999/build/zig2.c:2744871: warning: 'memcpy' reading 16 bytes from a region of size 10 [-Wstringop-overread]
* /var/no-tmpfs/portage/dev-lang/zig-9999/work/zig-9999/build/zig2.c:2744945: warning: 'memcpy' reading 16 bytes from a region of size 10 [-Wstringop-overread]
* Please do not file a Gentoo bug and instead report the above QA
* issues directly to the upstream developers of this software.
* Homepage: https://ziglang.org/
My apologizes if totally meaningless.
Expected Behavior
No QA warnings reported
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.miscompilationThe compiler reports success but produces semantically incorrect code.The compiler reports success but produces semantically incorrect code.