summaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-03-05 14:25:19 -0800
committerRichard Henderson <rth@gcc.gnu.org>2012-03-05 14:25:19 -0800
commit3b1552c135cab470886c2593f2cc0895ba74c0e1 (patch)
tree65d19a5b08da9e6db4373c12aa70d9a518a414e6 /gcc/genemit.c
parentaa96f3d8d914f285d3880d535f6dc97292cadc2a (diff)
downloadgcc-3b1552c135cab470886c2593f2cc0895ba74c0e1.tar.gz
genemit.c (main): Include "target.h" in insn-emit.c.
* 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. From-SVN: r184964
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");