GNU bug report logs - #24065
commit 09ece4d341a7 (Restore the calloc family) causes miscompile for gcc-5 and higher

Previous Next

Package: emacs;

Reported by: Markus Trippelsdorf <markus <at> trippelsdorf.de>

Date: Mon, 25 Jul 2016 07:23:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Markus Trippelsdorf <markus <at> trippelsdorf.de>
To: bug-gnu-emacs <at> gnu.org
Cc: Wolfgang Jenkner <wjenkner <at> inode.at>
Subject: commit 09ece4d341a7 (Restore the calloc family) causes miscompile
 for gcc-5 and higher
Date: Mon, 25 Jul 2016 09:22:32 +0200
commit 09ece4d341a7e07fab7be22868ebcadae8641c79
Author: Wolfgang Jenkner <wjenkner <at> inode.at>
Date:   Tue Feb 9 15:04:40 2016 -0800

    Restore the calloc family.

causes gcc-5 and higher to compile calloc to an endless loop.
-fno-builtin-malloc should be used to work around the problem.

See: https://gcc.gnu.org/ml/gcc-help/2015-03/msg00109.html
for a similar example.


-- 
Markus




This bug report was last modified 8 years and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.