pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix compiler warning for pg_lfind32().
Date: Wed, 27 Mar 2024 01:29:06 +0000
Message-ID: <E1rpI6D-005qwe-Om@gemulon.postgresql.org> (raw)

Fix compiler warning for pg_lfind32().

The newly-introduced "one_by_one" label produces -Wunused-label
warnings when building without SIMD support.  To fix, move the
label into the SIMD section of this function.

Oversight in commit 7644a7340c.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/3189995.1711495704%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f42337be535243e665f85916ce21b2d85d9f2b3

Modified Files
--------------
src/include/port/pg_lfind.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



view thread (2+ messages)

Message-ID: <E1rpI6D-005qwe-Om@gemulon.postgresql.org>
Permalink:  ../E1rpI6D-005qwe-Om@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rpI6D-005qwe-Om@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix compiler warning for pg_lfind32().
  In-Reply-To: <E1rpI6D-005qwe-Om@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox