]> git.eshelyaron.com Git - emacs.git/commit
Simplify procname code to avoid GCC bug
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 May 2017 21:29:18 +0000 (14:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 May 2017 21:31:49 +0000 (14:31 -0700)
commitbe9e60fc3c43cc49cc5d749924c3e96737ae297c
treef29bee2a14c1aae78324eef68b1c0279a3af3dd8
parentc4ac34f22794344d44022b9c497b2f12cdb0f4a6
Simplify procname code to avoid GCC bug

* src/process.c (server_accept_connection): Simplify and avoid
multiple calls and struct literals in the last case of a switch.
The old code ran afoul of GCC bug 80659, which caused an internal
compiler error.  Problem reported by Jim Meyering in:
http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00182.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80659
src/process.c