public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/62027] New: missing dwarf info for struct/union nested in class
@ 2014-08-05 20:55 sijun.liu at oracle dot com
  2014-08-05 20:57 ` [Bug c++/62027] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: sijun.liu at oracle dot com @ 2014-08-05 20:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62027

            Bug ID: 62027
           Summary: missing dwarf info for struct/union nested in class
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sijun.liu at oracle dot com

Problem: For struct/union defined in class. their dwarf info are missing.
In the following test case, the dwarf info for Un and St are missing.

GNU C++ 4.8.1 -m64 -mtune=generic -march=x86-64 -g -std=c++11
Platform: Solaris 10 on intel chip

---------- t.cc ------------------------------------------------------------

class CLS {
    public:
        union Un {
            int a;
            int b;
        };

        struct St {
            int c;
            int d;
        };
} A;

int main() {
    return 1;
}


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/62027] missing dwarf info for struct/union nested in class
  2014-08-05 20:55 [Bug c++/62027] New: missing dwarf info for struct/union nested in class sijun.liu at oracle dot com
@ 2014-08-05 20:57 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-08-05 20:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62027

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Well the struct/class are unused.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-05 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 20:55 [Bug c++/62027] New: missing dwarf info for struct/union nested in class sijun.liu at oracle dot com
2014-08-05 20:57 ` [Bug c++/62027] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).