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.