Use GCALIGNED properly for GCC
commit9e59de9449b53c3ecd85b624c11360ba9cafee75
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 Nov 2017 03:11:18 +0000 (8 19:11 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 Nov 2017 03:12:02 +0000 (8 19:12 -0800)
tree6a5f27fb3679aefe1cf69e4ce070ef99cdebf7fa
parentb9d7c902603a49d2624bdd35efdfba1785a4bce5
Use GCALIGNED properly for GCC

Apparently GCC requires that ‘__attribute__ ((aligned (8)))’ must
immediately follow the ‘struct’ keyword when aligning a structure.
The attribute silently does not work if it follows a tag after the
‘struct’ keyword.  Who knew?  Anyway, this patch is designed to
fix a SIGSEGV problem reported by John Mastro (Bug#29183).
* lib-src/make-docfile.c (close_emacs_globals):
* src/buffer.c (buffer_defaults, buffer_local_symbols):
* src/lisp.h (DEFUN):
* src/thread.c (main_thread):
Put 'GCALIGNED' immediately after 'struct'.
lib-src/make-docfile.c
src/buffer.c
src/lisp.h
src/thread.c