This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Remove stale declaration
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 2 Apr 2014 12:36:12 +0200
- Subject: [PATCH] Remove stale declaration
- Authentication-results: sourceware.org; auth=none
I noticed that we declare this function, but its definition was
removed in 2009 by P. Bonzini, thus the decl serves no purpose.
Regtested/bootstrapped on x86_64-linux, ok for trunk?
2014-04-02 Marek Polacek <polacek@redhat.com>
* c-common.h (c_expand_expr): Remove declaration.
diff --git gcc/c-family/c-common.h gcc/c-family/c-common.h
index 1099b10..24959d8 100644
--- gcc/c-family/c-common.h
+++ gcc/c-family/c-common.h
@@ -928,8 +928,6 @@ extern bool vector_targets_convertible_p (const_tree t1, const_tree t2);
extern bool vector_types_convertible_p (const_tree t1, const_tree t2, bool emit_lax_note);
extern tree c_build_vec_perm_expr (location_t, tree, tree, tree, bool = true);
-extern rtx c_expand_expr (tree, rtx, enum machine_mode, int, rtx *);
-
extern void init_c_lex (void);
extern void c_cpp_builtins (cpp_reader *);
Marek