summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/gcc-strmov-store-file-names.patch
Commit message (Collapse)AuthorAge
* gnu: gcc: Fix 'gcc-strmov-store-file-names.patch'.Ludovic Courtès2018-06-13
| | | | | | | | | | | | | | | | | | | 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.
* gnu: gcc: Adjust 'strmov' patch for string constants in variables.Ludovic Courtès2018-03-20
| | | | | | | 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.
* gnu: gcc@5, gcc@6: Work around use of 'movabs' for /gnu/store strings.Ludovic Courtès2016-11-09
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.