diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8586406628..23f37b0f780 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2006-01-18 Andrew Pinski + + * diagnostic.h: Include options.h. + * config/rs6000/x-darwin (host-ppc-darwin.o): Correct the + dependancies for diagnostic.h. + * Makefile.in (DIAGNOSTIC_H): Add options.h. + 2006-01-16 Daniel Berlin * tree-ssa-operands.h (ssa_call_clobbered_cache_valid): Remove. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index dd2c8452926..a8bd984fb8a 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -787,7 +787,7 @@ TREE_FLOW_H = tree-flow.h tree-flow-inline.h tree-ssa-operands.h \ $(HASHTAB_H) $(CGRAPH_H) $(IPA_REFERENCE_H) TREE_SSA_LIVE_H = tree-ssa-live.h $(PARTITION_H) PRETTY_PRINT_H = pretty-print.h input.h $(OBSTACK_H) -DIAGNOSTIC_H = diagnostic.h diagnostic.def $(PRETTY_PRINT_H) +DIAGNOSTIC_H = diagnostic.h diagnostic.def $(PRETTY_PRINT_H) options.h C_PRETTY_PRINT_H = c-pretty-print.h $(PRETTY_PRINT_H) $(C_COMMON_H) $(TREE_H) SCEV_H = tree-scalar-evolution.h $(GGC_H) tree-chrec.h $(PARAMS_H) LAMBDA_H = lambda.h $(TREE_H) vec.h $(GGC_H) diff --git a/gcc/config/rs6000/x-darwin b/gcc/config/rs6000/x-darwin index bcf1c9ecb1f..033ab6bf54c 100644 --- a/gcc/config/rs6000/x-darwin +++ b/gcc/config/rs6000/x-darwin @@ -1,4 +1,4 @@ host-ppc-darwin.o : $(srcdir)/config/rs6000/host-darwin.c \ $(CONFIG_H) $(SYSTEM_H) coretypes.h hosthooks.h $(HOSTHOOKS_DEF_H) toplev.h \ - diagnostic.h config/host-darwin.h + config/host-darwin.h $(DIAGNOSTIC_H) $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< -o $@ diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index 51493ea8bab..df520266a88 100644 --- a/gcc/diagnostic.h +++ b/gcc/diagnostic.h @@ -24,6 +24,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #define GCC_DIAGNOSTIC_H #include "pretty-print.h" +#include "options.h" /* Constants used to discriminate diagnostics. */ typedef enum