summary refs log tree commit diff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-06-13 23:02:31 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-13 23:04:51 +0200
commit243ea8673f783d5a85df94b09d4ffd4bc6cc97ce (patch)
tree5f881a57f94dbac78a07cb287692dec51acded78 /gnu/local.mk
parent53411dfcd6e696fc4aea11c70d411db5300ac5e2 (diff)
downloadguix-243ea8673f783d5a85df94b09d4ffd4bc6cc97ce.tar.gz
gnu: gcc: Fix 'gcc-strmov-store-file-names.patch'.
Fixes <https://bugs.gnu.org/31708>.

Previously GCC would crash when encountering a 'static const' element
without an initializer, as in:

  #define _GNU_SOURCE
  #include <string.h>

  void foo (char *x)
  {
    static const char buf[12];
    memcpy (x, buf, 12);
  }

* gnu/packages/patches/gcc-strmov-store-file-names.patch: Return false
when DECL_INITIAL returns NULL_TREE.
Diffstat (limited to 'gnu/local.mk')
0 files changed, 0 insertions, 0 deletions