-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.5
-
None
-
gcc-11.5.0-2.el9
-
None
-
None
-
1
-
rhel-sst-pt-gcc
-
ssg_platform_tools
-
27
-
27
-
1
-
False
-
-
No
-
Red Hat Enterprise Linux
-
GCC Sprint 9
-
Pass
-
None
-
Unspecified Release Note Type - Unknown
-
-
All
-
None
Under RHEL-38861, we are implementing the POSIX rules for struct sockaddr type-based aliasing analysis. It has come to our intention that this approach is not fully compatible with -flto.
- Bug 114493 - [11/12/13/14/15 Regression] internal compiler error: in fld_incomplete_type_of with may_alias
The reproducer is quite simple. Compiling it with -flto is enough:
typedef struct git_midx_writer git_midx_writer; int git_futils_rmdir_flags; int __attribute__git_midx_writer_new(git_midx_writer **); struct __attribute__((__may_alias__)) git_midx_writer {};
- blocks
-
RHEL-38861 glibc: Disable type-based based aliasing for sockaddr structs [rhel-9]
- Planning
- is cloned by
-
RHEL-40244 gcc-toolset-13-gcc: Cannot make struct sockaddr aliasing-compatible if LTO is enabled [rhel-9]
- Closed
- links to
-
RHEA-2024:136837 gcc bug fix and enhancement update