public inbox for [email protected]help / color / mirror / Atom feed
pgsql: Suppress new "may be used uninitialized" warning. 6+ messages / 1 participants [nested] [flat]
* pgsql: Suppress new "may be used uninitialized" warning. @ 2026-02-17 02:05 Noah Misch <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw) To: [email protected] Suppress new "may be used uninitialized" warning. Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail to deduce that text_substring() variable "E" is initialized if slice_size!=-1. This suppression approach quiets gcc 8.5; I did not reproduce the warning elsewhere. Back-patch to v14, like commit 9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125. Reported-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/8cef93d8a5886b57099fcd32e92f12bc5df7bbd1 Modified Files -------------- src/backend/utils/adt/varlena.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Suppress new "may be used uninitialized" warning. @ 2026-02-17 02:05 Noah Misch <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw) To: [email protected] Suppress new "may be used uninitialized" warning. Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail to deduce that text_substring() variable "E" is initialized if slice_size!=-1. This suppression approach quiets gcc 8.5; I did not reproduce the warning elsewhere. Back-patch to v14, like commit 9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125. Reported-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/50d361f6223f8f560a7f6e36076ed333e9977a73 Modified Files -------------- src/backend/utils/adt/varlena.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Suppress new "may be used uninitialized" warning. @ 2026-02-17 02:05 Noah Misch <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw) To: [email protected] Suppress new "may be used uninitialized" warning. Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail to deduce that text_substring() variable "E" is initialized if slice_size!=-1. This suppression approach quiets gcc 8.5; I did not reproduce the warning elsewhere. Back-patch to v14, like commit 9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125. Reported-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2280ab3545167bd8bdaef28013f53144d828ed6e Modified Files -------------- src/backend/utils/adt/varlena.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Suppress new "may be used uninitialized" warning. @ 2026-02-17 02:05 Noah Misch <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw) To: [email protected] Suppress new "may be used uninitialized" warning. Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail to deduce that text_substring() variable "E" is initialized if slice_size!=-1. This suppression approach quiets gcc 8.5; I did not reproduce the warning elsewhere. Back-patch to v14, like commit 9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125. Reported-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ec86152e02090d086caf170c77b3f559ce27e830 Modified Files -------------- src/backend/utils/adt/varlena.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Suppress new "may be used uninitialized" warning. @ 2026-02-17 02:05 Noah Misch <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw) To: [email protected] Suppress new "may be used uninitialized" warning. Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail to deduce that text_substring() variable "E" is initialized if slice_size!=-1. This suppression approach quiets gcc 8.5; I did not reproduce the warning elsewhere. Back-patch to v14, like commit 9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125. Reported-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d04b34d685a2b002d5c1577cbd9f046e827535c7 Modified Files -------------- src/backend/utils/adt/varlena.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Suppress new "may be used uninitialized" warning. @ 2026-02-17 02:05 Noah Misch <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw) To: [email protected] Suppress new "may be used uninitialized" warning. Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail to deduce that text_substring() variable "E" is initialized if slice_size!=-1. This suppression approach quiets gcc 8.5; I did not reproduce the warning elsewhere. Back-patch to v14, like commit 9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125. Reported-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a0769e74d65dba80717255faf78b494692729d6b Modified Files -------------- src/backend/utils/adt/varlena.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-02-17 02:05 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <[email protected]> 2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <[email protected]> 2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <[email protected]> 2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <[email protected]> 2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <[email protected]> 2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox