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 the redundant prototypes


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


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