summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 18:14:03 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 18:14:03 +0000
commit6ce616dfaba3040a3ad6e42628c331f8d79c121b (patch)
treef3eccec3494d8c1e7a8d7b594affa03ad9d7e7b4 /gcc
parent20bd2b8f26d4b7957c48def53e01dad3819ef351 (diff)
downloadppe42-gcc-6ce616dfaba3040a3ad6e42628c331f8d79c121b.tar.gz
ppe42-gcc-6ce616dfaba3040a3ad6e42628c331f8d79c121b.zip
* optc-gen.awk: Include intl.h after the externally-provided files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99783 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/optc-gen.awk2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a576233c1f4..aadf8ff2c88 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-16 Richard Sandiford <rsandifo@redhat.com>
+
+ * optc-gen.awk: Include intl.h after the externally-provided files.
+
2005-05-16 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa-copy.c (copy_prop_visit_assignment): Clean up by
diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk
index e647cd9ad21..4c4eef7a8a2 100644
--- a/gcc/optc-gen.awk
+++ b/gcc/optc-gen.awk
@@ -56,11 +56,11 @@ BEGIN {
END {
print "/* This file is auto-generated by opts.sh. */"
print ""
-print "#include <intl.h>"
n_headers = split(header_name, headers, " ")
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 ""
for (i = 0; i < n_opts; i++) {
OpenPOWER on IntegriCloud