diff options
author | Andreas Krebbel <krebbel@gcc.gnu.org> | 2014-09-25 07:37:36 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2014-09-25 07:37:36 +0000 |
commit | abdc17f81403fa566c44812777296c6d825c3e65 (patch) | |
tree | 1eb41a28a86278bb43999debd91dff6244dd8c2a /gcc/tree.h | |
parent | d90c0a5980ceedb40f9f7536c32f17856997435a (diff) | |
download | gcc-abdc17f81403fa566c44812777296c6d825c3e65.zip gcc-abdc17f81403fa566c44812777296c6d825c3e65.tar.gz gcc-abdc17f81403fa566c44812777296c6d825c3e65.tar.bz2 |
[multiple changes]
2014-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
PR 63300/debug
* tree.c (check_base_type): New.
(check_qualified_type): Exploit new helper function above.
* tree.h (check_base_type): New prototype.
* dwarf2out.c (get_nearest_type_subqualifiers): New.
(modified_type_die): Fix handling for qualifiers. Qualifiers to
"peel off" are now determined using get_nearest_type_subqualifiers.
2014-09-25 Mark Wielaard <mjw@redhat.com>
PR 63300/debug
* gcc.dg/debug/dwarf2/stacked-qualified-types-1.c: New testcase.
* gcc.dg/debug/dwarf2/stacked-qualified-types-2.c: Likewise.
* gcc.dg/guality/pr63300-const-volatile.c: New testcase.
From-SVN: r215582
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3829,6 +3829,10 @@ extern tree merge_dllimport_decl_attributes (tree, tree); extern tree handle_dll_attribute (tree *, tree, tree, int, bool *); #endif +/* Returns true iff unqualified CAND and BASE are equivalent. */ + +extern bool check_base_type (const_tree cand, const_tree base); + /* Check whether CAND is suitable to be returned from get_qualified_type (BASE, TYPE_QUALS). */ |