• Paul Eggert's avatar
    Use GCALIGNED properly for GCC · 9e59de94
    Paul Eggert authored
    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'.
    9e59de94
thread.c 27.7 KB