gcc/libatomic
Tom de Vries c9c87dc958 [libatomic, testsuite] Add missing include in atomic-generic.c
When compiling atomic-generic.c from the libatomic testsuite, we run into:
...
$ gcc src/libatomic/testsuite/libatomic.c/atomic-generic.c -latomic
src/libatomic/testsuite/libatomic.c/atomic-generic.c: In function ‘main’:
src/libatomic/testsuite/libatomic.c/atomic-generic.c:31:7: warning: \
  implicit declaration of function ‘memcmp’ [-Wimplicit-function-declaration]
   if (memcmp (&a, &zero, size))
       ^~~~~~
...

Fix this by adding the missing string.h include.

Tested on x86_64.

libatomic/ChangeLog:

	* testsuite/libatomic.c/atomic-generic.c: Include string.h.
2020-09-07 12:02:05 +02:00
..
config aix: FAT libraries: test native compiler mode directly 2020-07-14 10:41:40 -04:00
testsuite [libatomic, testsuite] Add missing include in atomic-generic.c 2020-09-07 12:02:05 +02:00
.gitignore
ChangeLog Daily bump. 2020-07-15 00:16:35 +00:00
Makefile.am build: Use -include instead of conditional include. 2020-06-22 21:31:48 +00:00
Makefile.in build: Use -include instead of conditional include. 2020-06-22 21:31:48 +00:00
acinclude.m4 re PR other/79543 (Inappropriate "ld --version" checking) 2019-09-03 14:10:26 +00:00
aclocal.m4 Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
auto-config.h.in Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and libatomic_la_LIBADD. 2017-12-05 00:49:09 +00:00
cas_n.c Update copyright years. 2020-01-01 12:51:42 +01:00
configure aix: Add GCC64 configuration and FAT target libraries. 2020-06-21 14:14:46 -04:00
configure.ac aix: Add GCC64 configuration and FAT target libraries. 2020-06-21 14:14:46 -04:00
configure.tgt aix: Add GCC64 configuration and FAT target libraries. 2020-06-21 14:14:46 -04:00
exch_n.c Update copyright years. 2020-01-01 12:51:42 +01:00
fadd_n.c Update copyright years. 2020-01-01 12:51:42 +01:00
fand_n.c
fence.c Update copyright years. 2020-01-01 12:51:42 +01:00
fenv.c Update copyright years. 2020-01-01 12:51:42 +01:00
fior_n.c
flag.c Update copyright years. 2020-01-01 12:51:42 +01:00
fnand_n.c
fop_n.c Update copyright years. 2020-01-01 12:51:42 +01:00
fsub_n.c
fxor_n.c
gcas.c Update copyright years. 2020-01-01 12:51:42 +01:00
gexch.c Update copyright years. 2020-01-01 12:51:42 +01:00
glfree.c Update copyright years. 2020-01-01 12:51:42 +01:00
gload.c Update copyright years. 2020-01-01 12:51:42 +01:00
gstore.c Update copyright years. 2020-01-01 12:51:42 +01:00
host-config.h Update copyright years. 2020-01-01 12:51:42 +01:00
init.c
libatomic.map Add out-of-line versions of some <stdatomic.h> functions (PR c/65083). 2015-11-18 22:13:44 +00:00
libatomic_i.h Update copyright years. 2020-01-01 12:51:42 +01:00
load_n.c Update copyright years. 2020-01-01 12:51:42 +01:00
store_n.c Update copyright years. 2020-01-01 12:51:42 +01:00
tas_n.c Update copyright years. 2020-01-01 12:51:42 +01:00