summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/autoload.el
diff options
context:
space:
mode:
authorWolfgang Jenkner <wjenkner@inode.at>2015-12-26 12:12:02 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-12-26 12:12:43 -0800
commit4b1436b702d56eedd27a0777fc7232cdfb7ac4f6 (patch)
tree0a92fb0417ed2eac4f5b0ef7165def7d194b0df0 /lisp/emacs-lisp/autoload.el
parent0191077d6a96d9ef8e43989fd5dc8a95e61806d5 (diff)
downloademacs-4b1436b702d56eedd27a0777fc7232cdfb7ac4f6.tar.gz
emacs-4b1436b702d56eedd27a0777fc7232cdfb7ac4f6.tar.bz2
emacs-4b1436b702d56eedd27a0777fc7232cdfb7ac4f6.zip
Always define gmalloc etc. in src/gmalloc.c
This is a work-around to prevent the compiler from using semantic knowledge about malloc for optimization purposes. E.g., gcc 5.2 with -O2 replaces most of calloc's definition by a call to calloc; see Bug#22085. * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc) (aligned_alloc, free): Do not undef. Instead, define these as functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions