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



Jonathan Wakely <redi at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |jason at gcc dot gnu.org



--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-28 
13:53:11 UTC ---

This seems to be fixed on trunk, but GDB can't handle it:



struct X {

  X& operator=(X&&) { return *this; }

};



int main()

{

  X x;

  x = X();

}



 <1><5e>: Abbrev Number: 8 (DW_TAG_rvalue_reference_type)

    <5f>   DW_AT_byte_size   : 8        

    <60>   DW_AT_type        : <0x29> 





Temporary breakpoint 1, main () at rv.cc:8

8         x = X();

(gdb) ptype x

type = struct X {

  public:

    X & operator=(<unknown type in /dev/shm/a.out, CU 0x0, DIE 0x4b>);

}





Jason, can this be closed as fixed?

Reply via email to