OSDN Git Service

PR debug/43190
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 2010 15:58:57 +0000 (15:58 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 2010 15:58:57 +0000 (15:58 +0000)
commitbd564c2971e8d8d6d1a5ef0b27398ab70af80d3d
tree0688af0b1561fa59374d820b0b812f6ea4caeee9
parent1ebdc03a15b7c1da6aa1361e5e4371b2d74319be
PR debug/43190
* function.c (used_types_insert): Don't skip through named pointer
types.  Don't use TYPE_MAIN_VARIANT if the original type has a name
and it is different from the main variant's type.

* c-c++-common/dwarf2/pr43190.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157092 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/dwarf2/pr43190.c [new file with mode: 0644]