[Bug network/19622] Support aliasing with struct sockaddr
fw at deneb dot enyo.de
sourceware-bugzilla@sourceware.org
Sat May 18 11:47:43 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=19622
Florian Weimer <fw at deneb dot enyo.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
CC| |fw at deneb dot enyo.de
Target Milestone|--- |2.40
--- Comment #7 from Florian Weimer <fw at deneb dot enyo.de> ---
Fixed for 2.40 via:
commit 8d7b6b4cb27d4dec1dd5f7960298c1699275f962
Author: Florian Weimer <fweimer@redhat.com>
Date: Sat May 18 09:33:19 2024 +0200
socket: Use may_alias on sockaddr structs (bug 19622)
This supports common coding patterns. The GCC C front end before
version 7 rejects the may_alias attribute on a struct definition
if it was not present in a previous forward declaration, so this
attribute can only be conditionally applied.
This implements the spirit of the change in Austin Group issue 1641.
Suggested-by: Marek Polacek <polacek@redhat.com>
Suggested-by: Jakub Jelinek <jakub@redhat.com>
Reviewed-by: Sam James <sam@gentoo.org>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list