Bug 230701
Summary: | Warnings issued by g++4 about broken strict-aliasing rules in /usr/include/c++/3.4.3/bits/basic_string.h when compiling with -fstrict-aliasing -Wall | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Ratko Veprek <veprek> |
Component: | gcc4 | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-02 12:05:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ratko Veprek
2007-03-02 11:15:50 UTC
The -Wstrict-aliasing warning support was added only in 4.1+ and libstdc++-v3 4.1+ headers have been tweaked to shut the warning in this case down by additional cast through void *, but as in RHEL4 libstdc++-v3 3.4.6 is used, you get that harmless warning. The code is believed to be ok, because _S_empty_rep_storage is never written into at runtime (only initialized to 0 by the linker). |