Tom Lane
0144c9c7e7
Suppress compiler warning in relptr_store().
...
clang 13 with -Wextra warns that "performing pointer subtraction with
a null pointer has undefined behavior" in the places where freepage.c
tries to set a relptr variable to constant NULL. This appears to be
a compiler bug, but it's unlikely to get fixed instantly. Fortunately,
we can work around it by introducing an inline support function, which
seems like a good change anyway because it removes the macro's existing
double-evaluation hazard.
Backpatch to v10 where this code was introduced.
Patch by me, based on an idea of Andres Freund's.
Discussion: https://postgr.es/m/48826.1648310694@sss.pgh.pa.us
2022-03-26 14:29:40 -04:00
..
2019-03-23 00:19:34 +01:00
2021-03-31 13:55:25 -04:00
2021-01-02 13:06:25 -05:00
2021-05-10 10:44:38 -04:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-05-12 13:14:10 -04:00
2021-05-12 13:14:10 -04:00
2022-01-27 20:15:37 +01:00
2021-01-02 13:06:25 -05:00
2017-06-21 15:19:25 -04:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-11-24 10:07:38 +13:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-04-11 13:22:56 -04:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-05-10 16:06:09 +12:00
2021-05-15 14:13:09 -04:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-10-23 18:36:42 -07:00
2021-01-02 13:06:25 -05:00
2021-01-31 23:50:40 +03:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-02-10 13:06:48 +09:00
2021-01-02 13:06:25 -05:00
2021-04-06 13:44:15 +09:00
2021-01-02 13:06:25 -05:00
2021-04-06 07:20:42 +02:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-05-07 21:10:11 +12:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-25 22:28:29 -05:00
2021-10-01 11:10:12 -04:00
2020-03-11 16:38:31 +01:00
2021-01-02 13:06:25 -05:00
2022-02-22 10:23:49 +09:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-06-18 20:04:07 -07:00
2021-10-23 18:36:42 -07:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2022-03-26 14:29:40 -04:00
2021-01-02 13:06:25 -05:00
2021-04-03 17:30:49 +09:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-03-27 00:01:11 +01:00
2021-01-02 13:06:25 -05:00
2021-05-12 13:14:10 -04:00
2021-01-02 13:06:25 -05:00
2021-10-01 11:10:12 -04:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-04-03 09:02:41 +13:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-08-25 10:15:05 +02:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00
2022-03-16 15:35:42 +13:00
2021-01-02 13:06:25 -05:00
2021-01-02 13:06:25 -05:00