mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 12:41:01 +08:00
dwarf2out.c (dwarf2out_decl): Do not always generate a DIE for bool for C++.
2010-09-21 Richard Guenther <rguenther@suse.de> * dwarf2out.c (dwarf2out_decl): Do not always generate a DIE for bool for C++. From-SVN: r164483
This commit is contained in:
parent
5b50fc0c88
commit
9cad5fe7b5
@ -1,3 +1,8 @@
|
||||
2010-09-21 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* dwarf2out.c (dwarf2out_decl): Do not always generate a DIE
|
||||
for bool for C++.
|
||||
|
||||
2010-09-21 Bernd Schmidt <bernds@codesourcery.com>
|
||||
|
||||
* config/arm/iterators.md (qhs_extenddi_op): New mode_attr.
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user