gcw@ wrote: > Disassembly of section .text: > > 00000000 <calloc>: > 0: 8b 44 24 08 mov 0x8(%esp),%eax > 4: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) > b: 00 > c: 0f af 44 24 04 imul 0x4(%esp),%eax > 11: 89 44 24 04 mov %eax,0x4(%esp) > 15: eb e9 jmp 0 <calloc>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70798 As noted, "-O2 -fno-optimize-strlen" or "-O1" work around. (it replaces malloc() + memset(0) with calloc()) gmalloc.c in emacs may also be affected. --- Izumi Tsutsui