Bug 826882
Summary: | g++44 code crashes when compiled with -O2 -fPIC and -O3 -fPIC | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jakub Jelinek <jakub> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-tools-bugs |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.4 | CC: | alanm, cww, jason, mnewsome, mpolacek, pmuller |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | gcc-4.4.7-2.el6 | Doc Type: | Bug Fix |
Doc Text: |
Previously, the C++ compiler was incorrectly optimizing away certain checks, if we were assigning an integer value, bigger than the last element of an enum, to that enum using static_cast. This has been fixed so that now the compiler does not removes such checks.
|
Story Points: | --- |
Clone Of: | 556962 | Environment: | |
Last Closed: | 2013-02-21 10:26:53 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: | |||
Bug Depends On: | 556962 | ||
Bug Blocks: |
Comment 6
errata-xmlrpc
2013-02-21 10:26:53 UTC
|