• dodji's avatar
    PR debug/47510 · 37b41f90
    dodji authored
    gcc/
    
    	PR debug/47510
    	* dwarf2out.c (strip_naming_typedef): Factorize out of ...
    	(lookup_type_die_strip_naming_typedef): ... here.
    	(get_context_die): Use it.
    	(gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to
    	the anonymous struct named by the naming typedef.
    
    gcc/testsuite/
    
            PR debug/47510
    	* g++.dg/debug/dwarf2/typedef6.C: New test.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171073 138bc75d-0d04-0410-961f-82ee72b054a4
    37b41f90
ChangeLog 84.6 KB