This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84994] Missing accessor hint for private field at -O1 and above when -g is enabled
- From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Mar 2018 16:15:19 +0000
- Subject: [Bug c++/84994] Missing accessor hint for private field at -O1 and above when -g is enabled
- Auto-submitted: auto-generated
- References: <bug-84994-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84994
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Missing accessor hint for |Missing accessor hint for
|private field at -O1 and |private field at -O1 and
|above |above when -g is enabled
--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Adding -v shows that godbolt.org is silently injecting "-g"; this is also
needed to show the issue i.e. the problem occurs at -O1 and above when -g is
enabled.