Re: struct sockaddr_storage

2023-01-22 Thread Stefan Puiu via Gcc
Hi Alex, On Fri, Jan 20, 2023 at 2:40 PM Alejandro Colomar wrote: > > Hi Stefan, > > On 1/20/23 11:06, Stefan Puiu wrote: > > Hi Alex, > > > > On Thu, Jan 19, 2023 at 4:14 PM Alejandro Colomar > > wrote: > >> > >> Hi! > >> > >> I just received a report about struct sockaddr_storage in the man pa

gcc-13-20230122 is now available

2023-01-22 Thread GCC Administrator via Gcc
Snapshot gcc-13-20230122 is now available on https://gcc.gnu.org/pub/gcc/snapshots/13-20230122/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 13 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: [PATCH v2] socket: Implement sockaddr_storage with an anonymous union

2023-01-22 Thread Bastien Roucariès
Le samedi 21 janvier 2023, 14:30:11 UTC Alejandro Colomar a écrit : > Hi Bastien, > > On 1/21/23 14:30, Bastien Roucariès wrote: > > [...] > > >> Ahh, indeed it seems to be UB. It's in the same 6.5.2.3/6: there's a > >> requirement that the information about the union is kept in the function i