Well... It's a trunk...
In my one-year-old trunk it's OK:
D:\Programs\fpcup32-trunk\fpcsrc\packages\fcl-net\tests>D:\Programs\fpcup32-trunk\fpc\bin\i386-win32\ppcrossx64.exe tfpsock2.pp -O3
Free Pascal Compiler version 3.3.1-16887-g7ac4e38b71 [2024/11/12] for x86_64
Copyright (c) 1993-2024 by Florian Klaempfl and others
Target OS: Win64 for x64
Compiling tfpsock2.pp
fpsockets.pp(870,7) Warning: Unreachable code
fpsockets.pp(870,7) Warning: Unreachable code
fpsockets.pp(875,3) Warning: Unreachable code
fpsockets.pp(897,7) Warning: Unreachable code
fpsockets.pp(904,3) Warning: Unreachable code
fpsockets.pp(804,7) Warning: Unreachable code
fpsockets.pp(837,7) Warning: Unreachable code
Linking tfpsock2.exe
564 lines compiled, 0.3 sec, 221072 bytes code, 10564 bytes data
7 warning(s) issued
D:\Programs\fpcup32-trunk\fpcsrc\packages\fcl-net\tests>tfpsock2.exe
Testing IPv4Test... Success!
Testing IPv6Test... Success!
Testing DualStackTest... Success!
Testing DataAvailableTest... Success!
Testing ReceiveArrayTest... Success!
Testing ChunkTest... Success!
Testing UDPFragmentationTest... Success!
Testing NonBlockingTest... Success!
Testing FragmentationTest... Success!
Testing FragmentedArrayTest... Success!