Patchwork LTO: Fix dependencies for lto.c

login
register
mail settings
Submitter Andi Kleen
Date July 27, 2010, 2:51 p.m.
Message ID <20100727145108.GA32126@basil.fritz.box>
Download mbox | patch
Permalink /patch/60146/
State New
Headers show

Comments

Andi Kleen - July 27, 2010, 2:51 p.m.
LTO: Fix dependencies for lto.c

When I added splay-tree.h usage earlier to lto.c I forgot to update
the Makefile dependencies. Should be obvious? 

Passed bootstrap and test suite run on x86_64-linux

2010-07-27  Andi Kleen <ak@linux.intel.com>

	* Make-lang.in (lto.o): Add dependency to splay-tree.h
Richard Guenther - July 28, 2010, 2:13 p.m.
On Tue, Jul 27, 2010 at 4:51 PM, Andi Kleen <andi@firstfloor.org> wrote:
> LTO: Fix dependencies for lto.c
>
> When I added splay-tree.h usage earlier to lto.c I forgot to update
> the Makefile dependencies. Should be obvious?
>
> Passed bootstrap and test suite run on x86_64-linux

Ok.

Thanks,
Richard.

> 2010-07-27  Andi Kleen <ak@linux.intel.com>
>
>        * Make-lang.in (lto.o): Add dependency to splay-tree.h
>
> Index: gcc/lto/Make-lang.in
> ===================================================================
> --- gcc/lto/Make-lang.in        (revision 162566)
> +++ gcc/lto/Make-lang.in        (working copy)
> @@ -85,7 +85,7 @@
>        $(CGRAPH_H) $(GGC_H) tree-ssa-operands.h $(TREE_PASS_H) \
>        langhooks.h $(VEC_H) $(BITMAP_H) pointer-set.h $(IPA_PROP_H) \
>        $(COMMON_H) debug.h $(TIMEVAR_H) $(GIMPLE_H) $(LTO_H) $(LTO_TREE_H) \
> -       $(LTO_TAGS_H) $(LTO_STREAMER_H) gt-lto-lto.h
> +       $(LTO_TAGS_H) $(LTO_STREAMER_H) $(SPLAY_TREE_H) gt-lto-lto.h
>  lto/lto-elf.o: lto/lto-elf.c $(CONFIG_H) coretypes.h $(SYSTEM_H) \
>        toplev.h $(LTO_H) $(TM_H) $(LIBIBERTY_H) $(GGC_H) $(LTO_STREAMER_H)
>  lto/lto-coff.o: lto/lto-coff.c $(CONFIG_H) coretypes.h $(SYSTEM_H) \
>

Patch

Index: gcc/lto/Make-lang.in
===================================================================
--- gcc/lto/Make-lang.in	(revision 162566)
+++ gcc/lto/Make-lang.in	(working copy)
@@ -85,7 +85,7 @@ 
 	$(CGRAPH_H) $(GGC_H) tree-ssa-operands.h $(TREE_PASS_H) \
 	langhooks.h $(VEC_H) $(BITMAP_H) pointer-set.h $(IPA_PROP_H) \
 	$(COMMON_H) debug.h $(TIMEVAR_H) $(GIMPLE_H) $(LTO_H) $(LTO_TREE_H) \
-	$(LTO_TAGS_H) $(LTO_STREAMER_H) gt-lto-lto.h
+	$(LTO_TAGS_H) $(LTO_STREAMER_H) $(SPLAY_TREE_H) gt-lto-lto.h
 lto/lto-elf.o: lto/lto-elf.c $(CONFIG_H) coretypes.h $(SYSTEM_H) \
 	toplev.h $(LTO_H) $(TM_H) $(LIBIBERTY_H) $(GGC_H) $(LTO_STREAMER_H)
 lto/lto-coff.o: lto/lto-coff.c $(CONFIG_H) coretypes.h $(SYSTEM_H) \