[libc-commits] [libc] [libc] Add struct sockaddr_storage (on linux) (PR #192978)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Wed Apr 22 00:49:20 PDT 2026


labath wrote:

It turns out glibc does use the may_alias attribute (added in 2024 -- I was looking at an older version) to avoid aliasing surprised, so I've done the same. Glibc only applies the attribute on gcc>=7.1, because of issues with forward-declarations, but:
- we don't support compilers that old
- I haven't been able to reproduce this problem even on older compilers

https://github.com/llvm/llvm-project/pull/192978


More information about the libc-commits mailing list