Subject: Re: bug#29040: Emacs 25 hangs on windows arbitrarily during search of a unicode file

From: Eli Zaretskii <[email-masked]>
Date: Fri, 03 Nov 2017 10:50:38 +0200

> Cc: [email-masked], [email-masked]
> From: Paul Eggert <[email-masked]>
> Date: Thu, 2 Nov 2017 22:03:17 -0700
> 
> I attempted to clarify this by installing the first attached patch into the 
> emacs-26 branch. This patch adds a comment to the definition of GCALIGNED. If 
> the name "GCALIGNED" itself is confusing, we can systematically change the name 
> to something else.  (The name doesn't confuse me, but perhaps I'm too close to 
> the code.)

Seems like this causes trouble to some versions of GCC.  Compiling the
current master on fencepost.gnu.org with GCC 4.8.4 fails with the
following diagnostic:

  In file included from lisp.h:783:0,
		   from vm-limit.c:21:
  globals.h:1095:10: error: requested alignment is not an integer constant
     struct Lisp_Symbol GCALIGNED s;
	    ^
  In file included from vm-limit.c:21:0:
  lisp.h:1149:3: error: requested alignment is not an integer constant
     };
     ^
  lisp.h:1262:3: error: requested alignment is not an integer constant
     };
     ^

This GCC identifies itself as

  $ gcc --version
  gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
  Copyright (C) 2013 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.