diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-10 20:24:45 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-10 20:24:45 +0000 |
commit | 15f255bdf8785cef57a8dc99a4b51db8c8f27cce (patch) | |
tree | 9ddd3e71e5eb92c8ed67ae5ff399982b7ba29d71 /gcc/Makefile.in | |
parent | d37b1ac9e99e9bd33b0d2be2fe22eef2374465d1 (diff) | |
download | gcc-15f255bdf8785cef57a8dc99a4b51db8c8f27cce.tar.gz |
gcc/
* doc/md.texi: Document the "unspec" and "unspecv" enum names.
* Makefile.in (OBJS-common): Include insn-enums.o.
(insn-enums.o): New rule.
(simple_generated_c): Add insn-enums.c.
(build/genenums.o): New rule.
(genprogmd): Add "enums".
* genconstants.c (print_enum_type): Declare a C string array
for each enum.
* genenums.c: New file.
* print-rtl.c (print_rtx): If defined, use the "unspecv" enum
for UNSPEC_VOLATILE. If defined, use the "unspec" enum for both
UNSPEC and (as a fallback) for UNSPEC_VOLATILE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160582 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 1a543bf18bd..c47ee954d2b 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1164,6 +1164,7 @@ OBJS-common = \ insn-peep.o \ insn-preds.o \ insn-recog.o \ + insn-enums.o \ $(GGC) \ alias.o \ alloc-pool.o \ @@ -3534,6 +3535,7 @@ insn-emit.o : insn-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ dfp.h $(FLAGS_H) output.h insn-config.h hard-reg-set.h $(RECOG_H) \ $(RESOURCE_H) reload.h $(TOPLEV_H) $(REGS_H) tm-constrs.h $(GGC_H) \ $(BASIC_BLOCK_H) $(INTEGRATE_H) +insn-enums.o : insn-enums.c $(CONFIG_H) $(SYSTEM_H) insn-extract.o : insn-extract.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_H) $(RTL_H) $(TOPLEV_H) insn-config.h $(RECOG_H) insn-modes.o : insn-modes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ @@ -3573,7 +3575,7 @@ simple_rtl_generated_c = insn-attrtab.c insn-automata.c insn-emit.c \ simple_generated_h = $(simple_rtl_generated_h) insn-constants.h -simple_generated_c = $(simple_rtl_generated_c) +simple_generated_c = $(simple_rtl_generated_c) insn-enums.c $(simple_generated_h:insn-%.h=s-%) \ $(simple_generated_c:insn-%.c=s-%): s-%: $(MD_DEPS) @@ -3817,6 +3819,8 @@ build/genconstants.o : genconstants.c $(BCONFIG_H) $(SYSTEM_H) \ coretypes.h errors.h $(READ_MD_H) build/genemit.o : genemit.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h +build/genenums.o : genenums.c $(BCONFIG_H) $(SYSTEM_H) \ + coretypes.h errors.h $(READ_MD_H) build/genextract.o : genextract.c $(RTL_BASE_H) $(BCONFIG_H) \ $(SYSTEM_H) coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h \ vecprim.h @@ -3859,7 +3863,7 @@ genprogrtl = attr attrtab automata codes conditions config emit \ $(genprogrtl:%=build/gen%$(build_exeext)): $(BUILD_RTL) # All these programs use the MD reader ($(BUILD_MD)). -genprogmd = $(genprogrtl) mddeps constants +genprogmd = $(genprogrtl) mddeps constants enums $(genprogmd:%=build/gen%$(build_exeext)): $(BUILD_MD) # All generator programs need to report errors |