https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100537
--- Comment #21 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:8a1e92ff45e8e254fb557d20dcfa54a88d354329 commit r11-9592-g8a1e92ff45e8e254fb557d20dcfa54a88d354329 Author: Ian Lance Taylor <i...@golang.org> Date: Sat May 22 19:19:13 2021 -0700 compiler: mark global variables whose address is taken To implement this, change the backend to use flag bits for variables. Fixes https://gcc.gnu.org/PR100537 PR go/100537 * go-gcc.cc (class Gcc_backend): Update methods that create variables to take a flags parameter. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/322129 (cherry picked from commit 358832c46a378e5a0b8a2fa3c2739125e3e680c7)