diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-07-31 10:01:25 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-07-31 10:01:25 +0200 |
commit | 1e1d38871b1b64c4480e08179ebce9efc2161a01 (patch) | |
tree | 5d7741a5fa35893c436c49fabebc382a2f344042 /gcc/ada | |
parent | b3e200e1354de45b09c18ee4260d6b7e8d2db51e (diff) | |
download | gcc-1e1d38871b1b64c4480e08179ebce9efc2161a01.zip gcc-1e1d38871b1b64c4480e08179ebce9efc2161a01.tar.gz gcc-1e1d38871b1b64c4480e08179ebce9efc2161a01.tar.bz2 |
re PR debug/36278 (ICE with typedef void in namespace and using the defined type in another when compiling with "-g")
PR debug/36278
* dwarf2out.c (get_context_die): New function.
(force_decl_die, force_type_die): Use it.
(dwarf2out_imported_module_or_decl): Likewise. If base_type_die
returns NULL, force generation of DW_TAG_typedef and put that into
DW_AT_import.
* g++.dg/debug/namespace2.C: New test.
From-SVN: r138361
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions