tree-nomudflap.c dependency on gt-tree-mudflap.h not needed
Ian Lance Taylor
iant@google.com
Mon May 21 03:33:00 GMT 2012
Jay K <jay.krell@cornell.edu> writes:
> gcc-4.6.2/gcc/Makefile.in:
>
>
> tree-nomudflap.o : $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TREE_INLINE_H) \
> $(C_TREE_H) $(C_COMMON_H) $(GIMPLE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) \
> output.h langhooks.h tree-mudflap.h $(TM_H) coretypes.h \
> $(GGC_H) gt-tree-mudflap.h $(TREE_PASS_H) $(DIAGNOSTIC_CORE_H)
>
>
> gcc-4.6.2/gcc/tree-nomudflap.c
>
> /* Instead of:
> #include "gt-tree-mudflap.h"
> We prepare a little dummy struct here.
> */
>
> EXPORTED_CONST struct ggc_root_tab gt_ggc_r_gt_tree_mudflap_h[] = {
> LAST_GGC_ROOT_TAB
> };
>
>
> so I don't believe gt-tree-mudflap.h should be in the dependencies of
> tree-nomudflap.o.
I agree.
Ian
More information about the Gcc
mailing list