-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.5
-
None
-
gcc-toolset-13-gcc-13.3.1-2.el9
-
None
-
None
-
1
-
rhel-sst-pt-gcc
-
ssg_platform_tools
-
16
-
18
-
1
-
False
-
-
No
-
Red Hat Enterprise Linux
-
GCC Sprint 5
-
Pass
-
None
-
Release Note Not Required
-
-
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 {};
- clones
-
RHEL-39735 gcc: Cannot make struct sockaddr aliasing-compatible if LTO is enabled [rhel-9]
- Closed
- links to
-
RHBA-2024:133151 gcc-toolset-13-gcc bug fix and enhancement update