Patchwork Add missing include file in Makefile

login
register
mail settings
Submitter Florian Weimer
Date Sept. 17, 2012, 3:34 p.m.
Message ID <505742E8.1040505@redhat.com>
Download mbox | patch
Permalink /patch/184466/
State New
Headers show

Comments

Florian Weimer - Sept. 17, 2012, 3:34 p.m.
The attached patch is required so that plug-ins can include gimple.h.  I 
tested that cfg-flags.def is actually installed after this change.

Okay for trunk?
Ian Taylor - Sept. 17, 2012, 5:26 p.m.
On Mon, Sep 17, 2012 at 8:34 AM, Florian Weimer <fweimer@redhat.com> wrote:
> The attached patch is required so that plug-ins can include gimple.h.  I
> tested that cfg-flags.def is actually installed after this change.

> -BASIC_BLOCK_H = basic-block.h $(PREDICT_H) $(VEC_H) $(FUNCTION_H) cfghooks.h
> +BASIC_BLOCK_H = basic-block.h $(PREDICT_H) $(VEC_H) $(FUNCTION_H) cfg-flags.def cfghooks.h

Break the line with a continuation character before cfg-flags.def so
that it remains less than 80 columns.

This is OK with that change.

Thanks.

Ian

Patch

2012-09-17  Florian Weimer  <fweimer@redhat.com>

	* Makefile.in (BASIC_BLOCK_H): Add cfg-flags.def.

Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in	(revision 191378)
+++ gcc/Makefile.in	(working copy)
@@ -851,7 +851,7 @@ 
 	double-int.h alias.h $(SYMTAB_H) $(FLAGS_H) vecir.h \
 	$(REAL_H) $(FIXED_VALUE_H)
 REGSET_H = regset.h $(BITMAP_H) hard-reg-set.h
-BASIC_BLOCK_H = basic-block.h $(PREDICT_H) $(VEC_H) $(FUNCTION_H) cfghooks.h
+BASIC_BLOCK_H = basic-block.h $(PREDICT_H) $(VEC_H) $(FUNCTION_H) cfg-flags.def cfghooks.h
 GIMPLE_H = gimple.h gimple.def gsstruct.def pointer-set.h $(VEC_H) \
 	vecir.h $(GGC_H) $(BASIC_BLOCK_H) $(TREE_H) tree-ssa-operands.h \
 	tree-ssa-alias.h $(INTERNAL_FN_H)