re PR other/32754 (The opt?-gen.awk file generators produce incorrect credits)

2008-02-07  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR other/32754
	* doc/options.texi (Options): Replace references to opts.sh with
	optc-gen.awk.
	* opts-common.c: Likewise.
	* optc-gen.awk: Likewise.
	* opth-gen.awk: Replace reference to opts.sh with
	opth-gen.awk.

From-SVN: r132175
This commit is contained in:
Manuel López-Ibáñez
2008-02-07 20:48:24 +00:00
parent 27a6aba410
commit 7bcd17eeaf
5 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,13 @@
2008-02-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR other/32754
* doc/options.texi (Options): Replace references to opts.sh with
optc-gen.awk.
* opts-common.c: Likewise.
* optc-gen.awk: Likewise.
* opth-gen.awk: Replace reference to opts.sh with
opth-gen.awk.
2008-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* config/m68k/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS,

View File

@@ -5,7 +5,7 @@
@node Options
@chapter Option specification files
@cindex option specification files
@cindex @samp{opts.sh}
@cindex @samp{optc-gen.awk}
Most GCC command-line options are described by special option
definition files, the names of which conventionally end in

View File

@@ -54,7 +54,7 @@ BEGIN {
# Dump that array of options into a C file.
END {
print "/* This file is auto-generated by opts.sh. */"
print "/* This file is auto-generated by optc-gen.awk. */"
print ""
n_headers = split(header_name, headers, " ")
for (i = 1; i <= n_headers; i++)

View File

@@ -55,7 +55,7 @@ BEGIN {
# Dump out an enumeration into a .h file.
# Combine the flags of duplicate options.
END {
print "/* This file is auto-generated by opts.sh. */"
print "/* This file is auto-generated by opth-gen.awk. */"
print ""
print "#ifndef OPTIONS_H"
print "#define OPTIONS_H"

View File

@@ -38,7 +38,7 @@ along with GCC; see the file COPYING3. If not see
before having tested "-g". This doesn't match, and as "-gen-decls"
is less than "-gstabs", it will become the lower bound of the
binary search range, and "-g" will never be seen. To resolve this
issue, opts.sh makes "-gen-decls" point, via the back_chain member,
issue, 'optc-gen.awk' makes "-gen-decls" point, via the back_chain member,
to "-g" so that failed searches that end between "-gen-decls" and
the lexicographically subsequent switch know to go back and see if
"-g" causes a match (which it does in this example).