[Bug go/61498] [4.10 regression] Many 64-bit Go tests SEGV in scanblock

ian at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 13 13:50:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61498

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Fri Jun 13 13:50:13 2014
New Revision: 211639

URL: https://gcc.gnu.org/viewcvs?rev=211639&root=gcc&view=rev
Log:
    PR go/61498
runtime: Always set gcnext_sp to pointer-aligned address.

The gcnext_sp field is only used on systems that do not use
split stacks.  It marks the bottom of the stack for the
garbage collector.  This change makes sure that the stack
bottom is always aligned to a pointer value.

Previously the garbage collector would align all the addresses
that it scanned, but it now expects them to be aligned before
scanning.

Modified:
    trunk/libgo/runtime/proc.c



More information about the Gcc-bugs mailing list