This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove the redundant prototypes
- From: Ian Lance Taylor <iant at google dot com>
- To: Shujing Zhao <pearly dot zhao at oracle dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Paolo Carlini <paolo dot carlini at oracle dot com>
- Date: Tue, 07 Jul 2009 11:17:06 -0700
- Subject: Re: [PATCH] Remove the redundant prototypes
- References: <4A4C8FF9.8010207@oracle.com>
Shujing Zhao <pearly.zhao@oracle.com> writes:
> 2009-07-02 Shujing Zhao <pearly.zhao@oracle.com>
>
> * basic-block.h (dump_regset, debug_regset): Remove duplicate
> prototypes.
> * c-objc-common.h (c_initialize_diagnostics): Ditto.
> * ebitmap.h (dump_ebitmap): Ditto.
> * optabs.h (optab_libfunc): Ditto.
> * tree.h (tree_expr_nonzero_warnv_p, vect_set_verbosity_level): Ditto.
> * tree-flow.h (vect_can_force_dr_alignment_p,
> get_vectype_for_scalar_type): Ditto.
> (vectorize_loops): Move prototype to ...
> * tree-vectorizer.h: ... here. Also, adjust comment.
> * tree-ssa-loop.c: Include tree-vectorizer.h.
> Index: tree-ssa-loop.c
> ===================================================================
> --- tree-ssa-loop.c (revision 149164)
> +++ tree-ssa-loop.c (working copy)
> @@ -36,6 +36,7 @@ along with GCC; see the file COPYING3.
> #include "flags.h"
> #include "tree-inline.h"
> #include "tree-scalar-evolution.h"
> +#include "tree-vectorizer.h"
You need to modify Makefile.in so that tree-ssa-loop.o depends upon
tree-vectorizer.h.
This is OK with that change.
Thanks.
Ian