public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/19954] Compiler emits incomplete structure type
       [not found] <bug-19954-4@http.gcc.gnu.org/bugzilla/>
@ 2024-01-23 15:38 ` rguenth at gcc dot gnu.org
  2024-01-26 13:38 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-23 15:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19954
Bug 19954 depends on bug 12385, which changed state.

Bug 12385 Summary: Full debug info not emitted for C++ classes with external virtual functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12385

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug debug/19954] Compiler emits incomplete structure type
       [not found] <bug-19954-4@http.gcc.gnu.org/bugzilla/>
  2024-01-23 15:38 ` [Bug debug/19954] Compiler emits incomplete structure type rguenth at gcc dot gnu.org
@ 2024-01-26 13:38 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-26 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Known to work|                            |13.2.1, 7.5.0
             Status|NEW                         |RESOLVED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
(gdb) n
6        float* pt = d1.getData(1);     /* set breakpoint here */
(gdb) ptype d1
type = class Derived1 {
  private:
    int mySize;
    int myId;
    float *myPointer;

  public:
    Derived1(int);
    ~Derived1();
    virtual int getId(void);
    virtual float * getData(int);
}

works now as also verified in PR12385.  Verified with GCC 7 and GCC 13.

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

* [Bug debug/19954] Compiler emits incomplete structure type
  2005-02-14 20:42 [Bug debug/19954] New: " nikolay at etnus dot com
  2005-02-14 20:49 ` [Bug debug/19954] " pinskia at gcc dot gnu dot org
  2005-03-21 16:26 ` drow at gcc dot gnu dot org
@ 2005-09-26  0:43 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-26  0:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-26 00:43 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |12385
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-26 00:43:10
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19954


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

* [Bug debug/19954] Compiler emits incomplete structure type
  2005-02-14 20:42 [Bug debug/19954] New: " nikolay at etnus dot com
  2005-02-14 20:49 ` [Bug debug/19954] " pinskia at gcc dot gnu dot org
@ 2005-03-21 16:26 ` drow at gcc dot gnu dot org
  2005-09-26  0:43 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: drow at gcc dot gnu dot org @ 2005-03-21 16:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From drow at gcc dot gnu dot org  2005-03-21 16:26 -------
I do consider it a bug that there is no way to request GCC emit full debug
information in this case.  But can you give an example in which it doesn't work?
In general, it relies on the C++ One Definition Rule; if you have multiple
types in a C++ program with the same name, this isn't the only thing that's
going to go wrong.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19954


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

* [Bug debug/19954] Compiler emits incomplete structure type
  2005-02-14 20:42 [Bug debug/19954] New: " nikolay at etnus dot com
@ 2005-02-14 20:49 ` pinskia at gcc dot gnu dot org
  2005-03-21 16:26 ` drow at gcc dot gnu dot org
  2005-09-26  0:43 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-14 20:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-14 18:53 -------
I want to say this is duplicate of bug 12385.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19954


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

end of thread, other threads:[~2024-01-26 13:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19954-4@http.gcc.gnu.org/bugzilla/>
2024-01-23 15:38 ` [Bug debug/19954] Compiler emits incomplete structure type rguenth at gcc dot gnu.org
2024-01-26 13:38 ` rguenth at gcc dot gnu.org
2005-02-14 20:42 [Bug debug/19954] New: " nikolay at etnus dot com
2005-02-14 20:49 ` [Bug debug/19954] " pinskia at gcc dot gnu dot org
2005-03-21 16:26 ` drow at gcc dot gnu dot org
2005-09-26  0:43 ` pinskia at gcc dot gnu dot 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).