diagnostic.h: Include options.h.

2006-01-18  Andrew Pinski  <pinskia@physics.uc.edu>

        * 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.

From-SVN: r109941
This commit is contained in:
Andrew Pinski 2006-01-19 04:24:22 +00:00 committed by Andrew Pinski
parent d16a5e3669
commit e79b9d54a1
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2006-01-18 Andrew Pinski <pinskia@physics.uc.edu>
* 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 <dberlin@dberlin.org>
* tree-ssa-operands.h (ssa_call_clobbered_cache_valid): Remove.

View File

@ -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)

View File

@ -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 $@

View File

@ -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