aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2018-08-21 14:32:53 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2018-08-21 12:32:53 +0000
commitf4290962f769d655fb6fbdbe4d54cee5f0b56658 (patch)
tree1645ad83adc225fe94cfe763ac9e425b632c5202 /gcc/dwarf2out.c
parentb649008486249ff86a068db6117b94b8c7b8a62b (diff)
downloadgcc-f4290962f769d655fb6fbdbe4d54cee5f0b56658.zip
gcc-f4290962f769d655fb6fbdbe4d54cee5f0b56658.tar.gz
gcc-f4290962f769d655fb6fbdbe4d54cee5f0b56658.tar.bz2
tree.c (find_decls_types_r): Do not check for redundant typedefs.
* tree.c (find_decls_types_r): Do not check for redundant typedefs. * tree.h (is_redundant_typedef): Remove. * dwarf2out.c (is_redundant_typedef): Turn into static function. From-SVN: r263699
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index fb71ff3..edf1ac3 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -102,6 +102,7 @@ static void dwarf2out_source_line (unsigned int, unsigned int, const char *,
static rtx_insn *last_var_location_insn;
static rtx_insn *cached_next_real_insn;
static void dwarf2out_decl (tree);
+static bool is_redundant_typedef (const_tree);
#ifndef XCOFF_DEBUGGING_INFO
#define XCOFF_DEBUGGING_INFO 0
@@ -25831,7 +25832,7 @@ decls_for_scope (tree stmt, dw_die_ref context_die)
/* Is this a typedef we can avoid emitting? */
-bool
+static bool
is_redundant_typedef (const_tree decl)
{
if (TYPE_DECL_IS_STUB (decl))