https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89583
--- Comment #1 from pmderodat at gcc dot gnu.org --- Author: pmderodat Date: Fri Mar 22 13:59:02 2019 New Revision: 269873 URL: https://gcc.gnu.org/viewcvs?rev=269873&root=gcc&view=rev Log: [Ada] GNAT.Sockets: fix recent regressions The support for IPv6 that was added since last release triggered regressions on various platforms. The size of structures passed to low level routines was not correct anymore: it should depend on the address family, now. 2019-03-22 Dmitriy Anisimkov <anisi...@adacore.com> gcc/ada/ PR ada/89583 * libgnat/g-socket.adb (Bind_Socket, Connect_Socket, Send_Socket): Fix the computation of structure lengths passed to low level routines. (Is_IPv6_Address): Fix the number of expected colons. 2019-03-22 Simon Wright <si...@pushface.org> gcc/testsuite/ PR ada/89583 * gnat.dg/socket2.adb: New. Added: trunk/gcc/testsuite/gnat.dg/socket2.adb Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/libgnat/g-socket.adb trunk/gcc/testsuite/ChangeLog