aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-09-09 13:31:49 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-09-09 13:31:49 +0000
commit6f02c138136e54ec525d81e604427782cacec378 (patch)
treed4fd6aada5043cfd7bff984cbe0d0a5ef059bfde /gcc/tree-ssa-alias.c
parent0abcd6cc738c5afd131c232ddb6809e6ff8e8def (diff)
downloadgcc-6f02c138136e54ec525d81e604427782cacec378.zip
gcc-6f02c138136e54ec525d81e604427782cacec378.tar.gz
gcc-6f02c138136e54ec525d81e604427782cacec378.tar.bz2
runtime: align ucontext_t argument to 16 byte boundary
Some systems, such as ia64 and PPC, require that a ucontext_t pointer passed to getcontext and friends be aligned to a 16-byte boundary. Currently the ucontext_t fields in the g structure are defined in Go, and Go has no way to ensure a 16-byte alignment for a struct field. The fields are currently represented by an array of unsafe.Pointer. Enforce the alignment by making the array larger, and picking an offset into the array that is 16-byte aligned. Reviewed-on: https://go-review.googlesource.com/28910 From-SVN: r240044
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions