mirror of git://gcc.gnu.org/git/gcc.git
invoke.texi (Wall): fix formatting issues.
2007-10-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* doc/invoke.texi (Wall): fix formatting issues.
contrib/
* texi2pod.pl: Handle @asis.
(postprocess): Move @gccoptlist{} after all formatting commands.
From-SVN: r129125
This commit is contained in:
parent
1476e59ccc
commit
7b6cb84335
|
|
@ -1,3 +1,8 @@
|
||||||
|
2007-10-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
||||||
|
|
||||||
|
* texi2pod.pl: Handle @asis.
|
||||||
|
(postprocess): Move @gccoptlist{} after all formatting commands.
|
||||||
|
|
||||||
2007-10-01 Alexandre Oliva <aoliva@redhat.com>
|
2007-10-01 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* compare-debug: Avoid spurious errors when .stripped files
|
* compare-debug: Avoid spurious errors when .stripped files
|
||||||
|
|
|
||||||
|
|
@ -297,6 +297,7 @@ while(<$inf>) {
|
||||||
$ic =~ s/\@(?:code|kbd)/C/;
|
$ic =~ s/\@(?:code|kbd)/C/;
|
||||||
$ic =~ s/\@(?:dfn|var|emph|cite|i)/I/;
|
$ic =~ s/\@(?:dfn|var|emph|cite|i)/I/;
|
||||||
$ic =~ s/\@(?:file)/F/;
|
$ic =~ s/\@(?:file)/F/;
|
||||||
|
$ic =~ s/\@(?:asis)//;
|
||||||
$_ = "\n=over 4\n";
|
$_ = "\n=over 4\n";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -319,8 +320,12 @@ while(<$inf>) {
|
||||||
|
|
||||||
/^\@itemx?\s*(.+)?$/ and do {
|
/^\@itemx?\s*(.+)?$/ and do {
|
||||||
if (defined $1) {
|
if (defined $1) {
|
||||||
# Entity escapes prevent munging by the <> processing below.
|
if ($ic) {
|
||||||
$_ = "\n=item $ic\<$1\>\n";
|
# Entity escapes prevent munging by the <> processing below.
|
||||||
|
$_ = "\n=item $ic\<$1\>\n";
|
||||||
|
} else {
|
||||||
|
$_ = "\n=item $1\n";
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$_ = "\n=item $ic\n";
|
$_ = "\n=item $ic\n";
|
||||||
$ic =~ y/A-Ya-y/B-Zb-z/;
|
$ic =~ y/A-Ya-y/B-Zb-z/;
|
||||||
|
|
@ -376,7 +381,7 @@ sub postprocess
|
||||||
s/\@r\{([^\}]*)\}/R<$1>/g;
|
s/\@r\{([^\}]*)\}/R<$1>/g;
|
||||||
s/\@(?:dfn|var|emph|cite|i)\{([^\}]*)\}/I<$1>/g;
|
s/\@(?:dfn|var|emph|cite|i)\{([^\}]*)\}/I<$1>/g;
|
||||||
s/\@(?:code|kbd)\{([^\}]*)\}/C<$1>/g;
|
s/\@(?:code|kbd)\{([^\}]*)\}/C<$1>/g;
|
||||||
s/\@(?:gccoptlist|samp|strong|key|option|env|command|b)\{([^\}]*)\}/B<$1>/g;
|
s/\@(?:samp|strong|key|option|env|command|b)\{([^\}]*)\}/B<$1>/g;
|
||||||
s/\@sc\{([^\}]*)\}/\U$1/g;
|
s/\@sc\{([^\}]*)\}/\U$1/g;
|
||||||
s/\@file\{([^\}]*)\}/F<$1>/g;
|
s/\@file\{([^\}]*)\}/F<$1>/g;
|
||||||
s/\@w\{([^\}]*)\}/S<$1>/g;
|
s/\@w\{([^\}]*)\}/S<$1>/g;
|
||||||
|
|
@ -412,6 +417,10 @@ sub postprocess
|
||||||
s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g;
|
s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g;
|
||||||
s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g;
|
s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g;
|
||||||
|
|
||||||
|
# Handle gccoptlist here, so it can contain the above formatting
|
||||||
|
# commands.
|
||||||
|
s/\@gccoptlist\{([^\}]*)\}/B<$1>/g;
|
||||||
|
|
||||||
# Un-escape <> at this point.
|
# Un-escape <> at this point.
|
||||||
s/</</g;
|
s/</</g;
|
||||||
s/>/>/g;
|
s/>/>/g;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
2007-10-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
||||||
|
|
||||||
|
* doc/invoke.texi (Wall): fix formatting issues.
|
||||||
|
|
||||||
2007-10-07 Richard Sandiford <rsandifo@nildram.co.uk>
|
2007-10-07 Richard Sandiford <rsandifo@nildram.co.uk>
|
||||||
|
|
||||||
* simplify-rtx.c (simplify_binary_operation_1): Canonicalize
|
* simplify-rtx.c (simplify_binary_operation_1): Canonicalize
|
||||||
|
|
|
||||||
|
|
@ -2601,34 +2601,34 @@ enables some language-specific warnings described in @ref{C++ Dialect
|
||||||
Options} and @ref{Objective-C and Objective-C++ Dialect Options}.
|
Options} and @ref{Objective-C and Objective-C++ Dialect Options}.
|
||||||
|
|
||||||
@option{-Wall} turns on the following warning flags:
|
@option{-Wall} turns on the following warning flags:
|
||||||
@gccoptlist{
|
|
||||||
-Waddress @gol
|
@gccoptlist{-Waddress @gol
|
||||||
-Warray-bounds (only with @option{-O2}) @gol
|
-Warray-bounds @r{(only with} @option{-O2}@r{)} @gol
|
||||||
-Wc++0x-compat @gol
|
-Wc++0x-compat @gol
|
||||||
-Wchar-subscripts @gol
|
-Wchar-subscripts @gol
|
||||||
-Wimplicit-int @gol
|
-Wimplicit-int @gol
|
||||||
-Wimplicit-function-declaration @gol
|
-Wimplicit-function-declaration @gol
|
||||||
-Wcomment @gol
|
-Wcomment @gol
|
||||||
-Wformat @gol
|
-Wformat @gol
|
||||||
-Wmain (only for C/ObjC and unless @option{-ffreestanding}) @gol
|
-Wmain @r{(only for C/ObjC and unless} @option{-ffreestanding}@r{)} @gol
|
||||||
-Wmissing-braces @gol
|
-Wmissing-braces @gol
|
||||||
-Wnonnull @gol
|
-Wnonnull @gol
|
||||||
-Wparentheses @gol
|
-Wparentheses @gol
|
||||||
-Wpointer-sign
|
-Wpointer-sign @gol
|
||||||
-Wreorder @gol
|
-Wreorder @gol
|
||||||
-Wreturn-type @gol
|
-Wreturn-type @gol
|
||||||
-Wsequence-point @gol
|
-Wsequence-point @gol
|
||||||
-Wsign-compare (only in C++) @gol
|
-Wsign-compare @r{(only in C++)} @gol
|
||||||
-Wstrict-aliasing @gol
|
-Wstrict-aliasing @gol
|
||||||
-Wstrict-overflow @gol
|
-Wstrict-overflow @gol
|
||||||
-Wswitch @gol
|
-Wswitch @gol
|
||||||
-Wtrigraphs @gol
|
-Wtrigraphs @gol
|
||||||
-Wuninitialized (only with @option{-O1}, @option{-O2} or @option{-O3}) @gol
|
-Wuninitialized @r{(only with} @option{-O1}@r{,} @option{-O2} @r{or} @option{-O3}@r{)} @gol
|
||||||
-Wunknown-pragmas @gol
|
-Wunknown-pragmas @gol
|
||||||
-Wunused-function @gol
|
-Wunused-function @gol
|
||||||
-Wunused-label @gol
|
-Wunused-label @gol
|
||||||
-Wunused-value @gol
|
-Wunused-value @gol
|
||||||
-Wunused-variable @gol
|
-Wunused-variable @gol
|
||||||
}
|
}
|
||||||
|
|
||||||
@item -Wno-import
|
@item -Wno-import
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue