re PR debug/42278 (incorrect dwarf data gcc-4.4.2)
authorJakub Jelinek <jakub@redhat.com>
Wed, 12 May 2010 12:08:34 +0000 (14:08 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 12 May 2010 12:08:34 +0000 (14:08 +0200)
commit7c2db0d3628062fc4fc9227c2e3ac4922b10f059
tree7c2bbc9a530c0bc7329d73cce4d2900d40f8a5c3
parent5e247ae5a1779cdd22af089f8666b3d7c5f4cecf
re PR debug/42278 (incorrect dwarf data gcc-4.4.2)

PR debug/42278
* dwarf2out.c (base_type_die): Don't add name attribute here.
(modified_type_die): Instead of sizetype use
its underlying original type.  If a DW_TAG_base_type doesn't
have name added, add __unknown__.
(dwarf2out_imported_module_or_decl_1): Don't call base_type_die,
always call force_type_die instead.

From-SVN: r159315
gcc/ChangeLog
gcc/dwarf2out.c