Subject: Re: commit 09ece4d341a7 (Restore the calloc family) causes miscompile for gcc-5 and higher

From: Markus Trippelsdorf <[email-masked]>
Date: Mon, 25 Jul 2016 16:24:14 +0200

On 2016.07.25 at 15:27 +0200, Wolfgang Jenkner wrote:
> Markus Trippelsdorf <[email-masked]> wrote:
> 
> > On 2016.07.25 at 14:38 +0200, Wolfgang Jenkner wrote:
> [...]
> > > Author: Wolfgang Jenkner <[email-masked]>
> > > Date:   Sat Dec 26 12:12:02 2015 -0800
> > > 
> > >     Always define gmalloc etc. in src/gmalloc.c
> > >      
> [...]
> > > So, it would be useful to know on which system compilation fails.
> >
> > This happens on a Gentoo system (glibc trunk, gcc-6 latest branch):
> >
> > (gdb) run
> > Starting program: /var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5/src/temacs --batch --load loadup bootstrap
> 
> According to ftp://alpha.gnu.org/gnu/emacs/pretest/ your emacs
> version has been made available in April 2015 and so predates
> the fix from December 2015 above.  Also, your version belongs to
> an older (and effectively unmaintained) release series.
> 
> tl; dr: Please update to a current release candidate. 

Ok. Sorry for pointing to the wrong commit.

But version 24.5 is the latest stable release. 
It is sad, that it cannot be compiled with gcc-5 or gcc-6.

-- 
Markus