This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/N] Fix --help output.
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 1 Mar 2009 08:10:14 +0100
- Subject: [PATCH 0/N] Fix --help output.
Hello,
I do not like to read:
This switch lacks documentation
I dislike documentation that gets worse. On i686-pc-linux-gnu:
$ gcc -v --help 2>/dev/null | grep "This switch lacks documentation" | wc -l
trunk has 147,
gcc-4.2.4 had 108,
gcc-3.4.6 had 57.
Several of the now-undocumented switches used to be documented!
I have a set of patches to fix various related bugs in this area, but
I need help: how can I add test cases to the testsuite that just run the
compiler driver with some extra flags, and test its output against some
regexes, ideally multi-line? I'm not very fluent in GCC dejagnu.
All patches have been bootstrapped and regtested on i686-pc-linux-gnu,
unless stated otherwise.
Thanks,
Ralf
PS: I meant to only send documentation patches, which is why I foolishly
assumed that this time of the cycle might still be a good time ... sorry
for the bad timing.