Bug 672157
Summary: | debug info: Missing DW_AT_accessibility | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jakub |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-24 10:16:06 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
Jan Kratochvil
2011-01-24 09:08:20 UTC
You've omitted the important following words: An inheritance entry may have a DW_AT_accessibility attribute. If no accessibility attribute is present, private access is assumed for an entry of a class and public access is assumed for an entry of an interface, struct or union. The rule used by GCC now for -gdwarf-3 and above is the default is the natural choice for the language in question, i.e. if source doesn't need explicit public: or private:, then no DW_AT_accessibility is used. For -gdwarf-2 the old behavior has been preserved. See http://gcc.gnu.org/PR45124 Upstream GCC behaves exactly the same, the only difference is that GCC 4.6-RH defaults to -gdwarf-3, while GCC 4.6 upstream defaults still to -gdwarf-2. |