Files
golang.go/test/fixedbugs
Francisco Ferraz 244b156e67 cmd/compile: fix internal compiler error: bad write barrier type
This change fixes an issue where the compiler panics with 'bad
write barrier type' for zero-sized arrays. The loops in
storeTypeScalars and storeTypePtrs erroneously processed
zero-sized arrays causing invalid operations. This ignores them.

Fixes #77815

Change-Id: I0db1b924fc63a75f1bed7488e2dc54d2de5dc0b2
Reviewed-on: https://go-review.googlesource.com/c/go/+/749380
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2026-02-27 20:20:22 -08:00
..
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2025-10-29 11:00:23 -07:00
2025-10-29 11:00:23 -07:00
2025-10-29 11:00:23 -07:00
2024-09-13 21:21:33 +00:00
2024-09-13 21:24:10 +00:00
2025-10-29 11:00:23 -07:00
2023-02-07 20:59:40 +00:00