tcsh - Work around gcc-5 bug
commitc1d69b4e943be0ac0b9e60cf997891209e8f7198
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 7 Aug 2016 08:04:48 +0000 (7 01:04 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 7 Aug 2016 08:04:48 +0000 (7 01:04 -0700)
treeccdc80ad44c375adb7e8008ff5272fd16650ab2f
parentb430ae8704bf97b568de3f3bbe0ae644417a359a
tcsh - Work around gcc-5 bug

* GCC-5 improperly tries to optimize tcsh's calloc() replacement into a
  tail-jmp to tcsh's calloc.  It tries to optimize the malloc+memset
  sequence into calloc, inside calloc itself.

  This is really a bug in GCC-5 but work around it for now by hacking
  tcsh's calloc().
contrib/tcsh-6/tc.alloc.c