This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove stale declaration


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]