* data.c (POPCOUNT_STATIC_INLINE): New macro, as a hack for popcount.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Sep 2013 14:53:49 +0000 (07:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Sep 2013 14:53:49 +0000 (07:53 -0700)
commit4710d6f406ff792aaae65ad141f96346be44909d
treec4cf31d3c8292619363b0f998f8786968d3fcace
parent10ebac9d6af07da7650c490a39144177a25861e3
* data.c (POPCOUNT_STATIC_INLINE): New macro, as a hack for popcount.

This is ugly, but it should fix the performance problem for older
GCC versions in the short run.  I'll look into integrating the
Gnulib module for popcount, as a better fix.
See the thread starting in:
http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00474.html
(popcount_size_t_generic) [NEED_GENERIC_POPCOUNT]:
(popcount_size_t_msc) [USE_MSC_POPCOUNT]:
(popcount_size_t_gcc) [USE_GCC_POPCOUNT]:
(popcount_size_t): Use it.
src/ChangeLog
src/data.c