From: Richard Sandiford Date: Sun, 15 May 2005 08:16:01 +0000 (+0000) Subject: * opth-gen.awk: Remove excess indentation. X-Git-Tag: misc/cutover-cvs2svn~3180 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=64fbae219b6b6567a5cdbea568a3a5b45743e2ec;p=thirdparty%2Fgcc.git * opth-gen.awk: Remove excess indentation. From-SVN: r99715 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6412b9bbeb82..c87d4d70da91 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,7 @@ 2005-05-15 Richard Sandiford * optc-gen.awk: Remove excess indentation. + * opth-gen.awk: Likewise. 2005-05-14 Kaz Kojima diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk index 92c0e7e37236..e95af00d2c46 100644 --- a/gcc/opth-gen.awk +++ b/gcc/opth-gen.awk @@ -141,14 +141,14 @@ print "{" for (i = 0; i < n_opts; i++) back_chain[i] = "N_OPTS"; - for (i = 0; i < n_opts; i++) { - # Combine the flags of identical switches. Switches - # appear many times if they are handled by many front - # ends, for example. - while( i + 1 != n_opts && opts[i] == opts[i + 1] ) { - flags[i + 1] = flags[i] " " flags[i + 1]; - i++; - } +for (i = 0; i < n_opts; i++) { + # Combine the flags of identical switches. Switches + # appear many times if they are handled by many front + # ends, for example. + while( i + 1 != n_opts && opts[i] == opts[i + 1] ) { + flags[i + 1] = flags[i] " " flags[i + 1]; + i++; + } len = length (opts[i]); enum = "OPT_" opts[i]