Remove volatile qualifiers from shm_mq.c. Since commit 0709b7ee, spinlock primitives include a compiler barrier so it is no longer necessary to access either spinlocks or the memory they protect through pointer-to-volatile. Like earlier commits e93b6298, d53e3d5f, 430008b5, 8f6bb851, df4077cd.
Author: Thomas Munro Discussion: https://postgr.es/m/CAEepm=204T37SxcHo4=xw5btho9jQ-=zyyrvdckyz82xyzm...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/07c6e5163e1f4ae12a3a6478788dd969f8f38cc9 Modified Files -------------- src/backend/storage/ipc/shm_mq.c | 60 ++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 33 deletions(-)