summaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-05 22:25:19 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-05 22:25:19 +0000
commite374c627be63c1a2c225fe5af3e433624e266cc5 (patch)
tree65d19a5b08da9e6db4373c12aa70d9a518a414e6 /gcc/genemit.c
parent581134a496e3360845d1f77da8f0ce0e3a93aa3e (diff)
downloadgcc-e374c627be63c1a2c225fe5af3e433624e266cc5.tar.gz
* genemit.c (main): Include "target.h" in insn-emit.c.
* Makefile.in (insn-emit.o): Depend on TARGET_H. * config/sh/sync.md (atomic_test_and_set): Reference targetm.atomic_test_and_set_trueval instead of TARGET_ATOMIC_TEST_AND_SET_TRUEVAL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184964 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index 662d8ca59b3..173e4d30ab2 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -812,7 +812,8 @@ from the machine description file `md'. */\n\n");
printf ("#include \"tm-constrs.h\"\n");
printf ("#include \"ggc.h\"\n");
printf ("#include \"basic-block.h\"\n");
- printf ("#include \"integrate.h\"\n\n");
+ printf ("#include \"integrate.h\"\n");
+ printf ("#include \"target.h\"\n\n");
printf ("#define FAIL return (end_sequence (), _val)\n");
printf ("#define DONE return (_val = get_insns (), end_sequence (), _val)\n\n");