aboutsummaryrefslogtreecommitdiff
path: root/gcc/optc-gen.awk
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2011-07-25 21:32:56 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2011-07-25 22:32:56 +0100
commitc344a8663701f069dd5406d0b65c0de4c589ff69 (patch)
tree8b716a26eaea9d3c08639ff1d1e19e739ed75ba9 /gcc/optc-gen.awk
parentb97927a4e92fce96a44ef58468b532526e91ebfe (diff)
downloadgcc-c344a8663701f069dd5406d0b65c0de4c589ff69.zip
gcc-c344a8663701f069dd5406d0b65c0de4c589ff69.tar.gz
gcc-c344a8663701f069dd5406d0b65c0de4c589ff69.tar.bz2
genattr.c (write_upcase, [...]): Move to ...
* genattr.c (write_upcase, gen_attr <enum definition writing>): Move to ... * genattr-common.c ... here. (main): Call gen_attr. * optc-gen.awk: Make generated program include insn-attr-common.h . * Makefile.in (oprions.o): Depend on insn-attr-common.h From-SVN: r176769
Diffstat (limited to 'gcc/optc-gen.awk')
-rw-r--r--gcc/optc-gen.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk
index 519b1e93..71a03fb 100644
--- a/gcc/optc-gen.awk
+++ b/gcc/optc-gen.awk
@@ -37,6 +37,7 @@ for (i = 1; i <= n_headers; i++)
print "#include " quote headers[i] quote
print "#include " quote "opts.h" quote
print "#include " quote "intl.h" quote
+print "#include " quote "insn-attr-common.h" quote
print ""
if (n_extra_c_includes > 0) {