From c98d845f308a2eaef5a9bc33256bf5cfceb9dc13 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 17 Jun 2019 11:03:26 +0200 Subject: [PATCH] Remove dead code (PR ipa/90874). 2019-06-17 Martin Liska PR ipa/90874 * ipa-utils.h (odr_type_p): Remove dead code. From-SVN: r272378 --- gcc/ChangeLog | 5 +++++ gcc/ipa-utils.h | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a2e4203633..d2f4db4a89b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-06-17 Martin Liska + + PR ipa/90874 + * ipa-utils.h (odr_type_p): Remove dead code. + 2019-06-17 Rainer Orth * configure.ac (ld_vers) <*-*-solaris2*>: Remove support for diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index 5903da5840d..3e582f45283 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -240,7 +240,6 @@ odr_type_p (const_tree t) gcc_checking_assert (in_lto_p || flag_lto); return TYPE_NAME (t) && TREE_CODE (TYPE_NAME (t)) == TYPE_DECL && DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (t)); - return false; } #endif /* GCC_IPA_UTILS_H */ -- 2.30.2