8sa1-gcc/libgcc/config
Tom de Vries 7b9c26519e [nvptx, libgcc] Fix Wbuiltin-declaration-mismatch in atomic.c
When building for target nvptx, we get this and similar warnings for libgcc:
...
src/libgcc/config/nvptx/atomic.c:39:1: warning: conflicting types for \
  built-in function ‘__sync_val_compare_and_swap_1’; expected \
  ‘unsigned char(volatile void *, unsigned char,  unsigned char)’ \
  [-Wbuiltin-declaration-mismatch]
...

Fix this by making sure in atomic.c that the pointers used are of type
'volatile void *'.

Tested by rebuilding atomic.c.

libgcc/ChangeLog:

	* config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
	Wbuiltin-declaration-mismatch.
2020-09-09 19:22:07 +02:00
..
aarch64 aarch64: Fix up __aarch64_cas16_acq_rel fallback 2020-08-03 22:55:28 +02:00
alpha
arc
arm
avr Fix typo in ChangeLog 2020-06-24 10:10:56 -04:00
bfin
bpf
c6x
cr16
cris
csky
epiphany
fr30
frv
ft32
gcn
h8300
i386 libgcc: increase required stack space for x86_64 -fsplit-stack 2020-08-03 16:01:59 -07:00
ia64 Missing __divtf3@@GCC_4.4.0 on ia64 2020-06-04 09:56:32 +02:00
iq2000
libbid
lm32
m32c
m32r
m68k
mcore
microblaze
mips
mmix
moxie
msp430 MSP430: Simplify and extend shift instruction patterns 2020-08-26 20:50:58 +01:00
nds32
nios2
nvptx [nvptx, libgcc] Fix Wbuiltin-declaration-mismatch in atomic.c 2020-09-09 19:22:07 +02:00
or1k
pa
pdp11
pru
riscv RISC-V/libgcc: Reduce the size of RV64 millicode by 6 bytes 2020-07-31 23:52:20 +01:00
rl78
rs6000 aix: FAT libraries: test native compiler mode directly 2020-07-14 10:41:40 -04:00
rx
s390
score
sh
sol2
sparc
stormy16
tilegx
tilepro
v850
vax
visium
vms
xtensa xtensa: libgcc: fix PR target/95571 2020-06-08 18:30:07 -07:00
darwin10-unwind-find-enc-func.c
darwin-64.c
darwin-crt3.c
darwin-crt-tm.c
gthr-lynx.h
gthr-rtems.h
gthr-vxworks-cond.c
gthr-vxworks-thread.c
gthr-vxworks-tls.c
gthr-vxworks.c
gthr-vxworks.h
hardfp.c
libgcc-glibc.ver
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-gthr-noweak
t-gthr-vxworks
t-gthr-vxworksae
t-hardfp
t-hardfp-sfdf
t-libgcc-pic
t-libunwind
t-libunwind-elf
t-linux
t-openbsd-thread
t-rtems
t-slibgcc
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-fuchsia
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf
t-softfp-tf
t-stack
t-tls
t-vxcrtstuff
t-vxworks
t-vxworks7
t-vxworksae
unwind-dw2-fde-darwin.c
vxcache.c
vxcrtstuff.c