summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/gcc-strmov-store-file-names.patch
AgeCommit message (Collapse)Author
2018-06-13gnu: gcc: Fix 'gcc-strmov-store-file-names.patch'.Ludovic Courtès
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.
2018-03-20gnu: gcc: Adjust 'strmov' patch for string constants in variables.Ludovic Courtès
Fixes <https://bugs.gnu.org/30395>. * gnu/packages/patches/gcc-strmov-store-file-names.patch: Update patch to deal with string constants stored in 'static' variables.
2016-11-09gnu: gcc@5, gcc@6: Work around use of 'movabs' for /gnu/store strings.Ludovic Courtès
Partly addresses <http://bugs.gnu.org/24703>. Reported by Mark H Weaver <mhw@netris.org>. * gnu/packages/patches/gcc-strmov-store-file-names.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gcc.scm (gcc-5)[sources](patches): Add it. (gcc-6)[sources](patches): Add it.