Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
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.
|