0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test
LemonBoy 58c2bec589 stage1: Fix ICE when generating struct fields with padding
Make gen_const_ptr_struct_recursive aware of the possible presence of
some trailing padding by always bitcasting the pointer to its expected
type.

Not an elegant solution but makes LLVM happy and is consistent with how
the other callsites are handling this case.

Fixes #5398
History 2020-11-25 15:36:33 -08:00
..
src remove deprecated uses of ArrayList.span 2020-11-07 11:15:44 +00:00
stage1 stage1: Fix ICE when generating struct fields with padding 2020-11-25 15:36:33 -08:00
stage2 stage2 AArch64: add Linux Hello World test 2020-11-11 23:29:18 +01:00
standalone Merge pull request #6434 from daurnimator/fifo.pump 2020-11-18 16:35:13 +02:00
assemble_and_link.zig update std lib to new Target API 2020-02-28 14:51:54 -05:00
cli.zig zig fmt: write modified files to stdout not stderr 2020-10-16 20:23:18 -04:00
compare_output.zig test & docs fixups to work with new semantics 2020-03-19 09:53:55 -04:00
compile_errors.zig Merge pull request #6829 from tadeokondrak/error-unsupported-callconv 2020-11-19 19:03:08 +02:00
gen_h.zig run zig fmt on src/ and test/ 2020-10-31 12:21:49 +02:00
run_translated_c.zig translate_c: fix shadowing on nested blocks 2020-08-31 20:29:57 +03:00
runtime_safety.zig stage1: Print correct error message for vector @intCast 2020-11-09 18:24:48 -05:00
stack_traces.zig update stack trace test with new start.zig line number 2020-11-25 00:40:50 -07:00
standalone.zig Revert "Support taking extern pointers at comptime" 2020-07-24 14:06:44 -07:00
tests.zig Rename .macosx to .macos 2020-10-12 18:56:25 -04:00
translate_c.zig translate-c: fix macro functions with no arguments 2020-11-06 12:48:52 +02:00