]> git.ipfire.org Git - people/ms/gcc.git/commit
runtime: remove direct assignments to memory locations
authorIan Lance Taylor <iant@golang.org>
Fri, 9 Jul 2021 02:25:55 +0000 (19:25 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 10 Jul 2021 02:48:53 +0000 (19:48 -0700)
commit1798cac7a8b3331a277da1f106752ce0a34f8937
tree841626abf0ab8089ea07bc0b099f48fa87925436
parentb9119edc09e4660d772dea771578715858f7fbdb
runtime: remove direct assignments to memory locations

PR bootstrap/101374
They cause a warning with the updated GCC -Warray-bounds option.
Replace them with calls to abort, which for our purposes is fine.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/333409
gcc/go/gofrontend/MERGE
libgo/runtime/proc.c
libgo/runtime/runtime_c.c