Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f42337

Browse files
Fix compiler warning for pg_lfind32().
The newly-introduced "one_by_one" label produces -Wunused-labelwarnings when building without SIMD support. To fix, move thelabel into the SIMD section of this function.Oversight in commit7644a73.Reported-by: Tom LaneDiscussion:https://postgr.es/m/3189995.1711495704%40sss.pgh.pa.us
1 parentffa9bb5 commit1f42337

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/include/port/pg_lfind.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,10 @@ pg_lfind32(uint32 key, uint32 *base, uint32 nelem)
194194
Assert(assert_result==pg_lfind32_simd_helper(keys,&base[nelem-nelem_per_iteration]));
195195
returnpg_lfind32_simd_helper(keys,&base[nelem-nelem_per_iteration]);
196196

197+
one_by_one:
198+
197199
#endif/* ! USE_NO_SIMD */
198200

199-
one_by_one:
200201
/* Process the elements one at a time. */
201202
for (;i<nelem;i++)
202203
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp