From 30b0f428d17e454063ae4b873ad0cbf279a26602 Mon Sep 17 00:00:00 2001 From: manu Date: Thu, 7 Feb 2008 20:40:19 +0000 Subject: [PATCH] 2008-02-07 Manuel Lopez-Ibanez PR other/32754 * doc/options.texi (Options): Replace references to opts.sh with optc-gen.awk. * opts-common.c: Likewise. * optc-gen.awk: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132174 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 8 ++++++++ gcc/doc/options.texi | 2 +- gcc/optc-gen.awk | 2 +- gcc/opts-common.c | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85c637492419..3b8e28f37088 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2008-02-07 Manuel Lopez-Ibanez + + PR other/32754 + * doc/options.texi (Options): Replace references to opts.sh with + optc-gen.awk. + * opts-common.c: Likewise. + * optc-gen.awk: Likewise. + 2008-02-07 Andreas Krebbel * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit. diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi index 05fa05b53230..eeccdec8f77c 100644 --- a/gcc/doc/options.texi +++ b/gcc/doc/options.texi @@ -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 diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk index 17ed35d5a7d4..f0bd8e5946cb 100644 --- a/gcc/optc-gen.awk +++ b/gcc/optc-gen.awk @@ -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++) diff --git a/gcc/opts-common.c b/gcc/opts-common.c index e4714f204d02..5a6786d1105a 100644 --- a/gcc/opts-common.c +++ b/gcc/opts-common.c @@ -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). -- 2.39.5