diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-21 15:19:02 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-21 15:19:02 +0000 |
commit | ebbfec002177fabeae5f5931b618d9932860876b (patch) | |
tree | a1105d737399e0ff992654f583951355243dc73f /gcc/dwarf2out.c | |
parent | fd80c7a1cb59da89adc5c57914706bde16c3d3e6 (diff) | |
download | gcc-ebbfec002177fabeae5f5931b618d9932860876b.tar.gz |
2010-09-21 Richard Guenther <rguenther@suse.de>
* dwarf2out.c (dwarf2out_decl): Do not always generate a DIE
for bool for C++.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164483 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 908d015e9f0..25104fba582 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -21014,16 +21014,7 @@ dwarf2out_decl (tree decl) /* Don't bother trying to generate any DIEs to represent any of the normal built-in types for the language we are compiling. */ if (DECL_IS_BUILTIN (decl)) - { - /* OK, we need to generate one for `bool' so GDB knows what type - comparisons have. */ - if (is_cxx () - && TREE_CODE (TREE_TYPE (decl)) == BOOLEAN_TYPE - && ! DECL_IGNORED_P (decl)) - modified_type_die (TREE_TYPE (decl), 0, 0, NULL); - - return; - } + return; /* If we are in terse mode, don't generate any DIEs for types. */ if (debug_info_level <= DINFO_LEVEL_TERSE) |