This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove stale declaration
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 2 Apr 2014 12:45:34 +0200
- Subject: Re: [PATCH] Remove stale declaration
- Authentication-results: sourceware.org; auth=none
- References: <20140402103612 dot GA24603 at redhat dot com>
On Wed, Apr 2, 2014 at 12:36 PM, Marek Polacek <polacek@redhat.com> wrote:
> 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?
Ok.
Thanks,
Richard.
> 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