[Bug middle-end/60281] Address Sanitizer triggers alignment fault in ARM machines
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 22 05:56:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60281
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 22 05:55:40 2014
New Revision: 209554
URL: http://gcc.gnu.org/viewcvs?rev=209554&root=gcc&view=rev
Log:
PR middle-end/60281
* asan.c (asan_emit_stack_protection): Force the base to align to
appropriate bits if STRICT_ALIGNMENT. Set shadow_mem align to
appropriate bits if STRICT_ALIGNMENT.
* cfgexpand.c (expand_stack_vars): Set base_align appropriately
when asan is on.
(expand_used_vars): Leave a space in the stack frame for alignment
if STRICT_ALIGNMENT.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/asan.c
trunk/gcc/cfgexpand.c
More information about the Gcc-bugs
mailing list