This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] gcc/gcc.c: XNEWVEC enough space for 'saved_suffix' using
- From: Mike Stump <mikestump at comcast dot net>
- To: Chen Gang <gang dot chen dot 5i5j at gmail dot com>
- Cc: "Bin.Cheng" <amker dot cheng at gmail dot com>, Jeff Law <law at redhat dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>, rth at redhat dot com, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 20 Aug 2014 10:35:58 -0700
- Subject: Re: [PATCH] gcc/gcc.c: XNEWVEC enough space for 'saved_suffix' using
- Authentication-results: sourceware.org; auth=none
- References: <53D126DC dot 8030609 at gmail dot com> <53DAC502 dot 5040403 at redhat dot com> <53E6528C dot 8030309 at gmail dot com> <D49CD01C-B1C8-47DE-9A75-CA6E96965B4A at comcast dot net> <53E72A21 dot 2000904 at gmail dot com> <53F08862 dot 3050003 at gmail dot com> <CAHFci29u1qC6G_oELPhAm3mrEVRe_7zqwyZO8w6cW5JFnB2yxw at mail dot gmail dot com> <53F1D023 dot 3020008 at gmail dot com> <CAHFci2-1w0DXxPESG2QVvq041k_rvj5D3BXTiyr90yXmGuoT-Q at mail dot gmail dot com> <53F1D29E dot 3050808 at gmail dot com> <53F4B017 dot 60104 at gmail dot com>
On Aug 20, 2014, at 7:26 AM, Chen Gang <gang.chen.5i5j@gmail.com> wrote:
> - for each test, always contents "unexpected errors" for gcc, g++ ...
> but "make check" skip them and continue, at last still "echo $?" = 0.
I use make -k -j16. It is roughly 16x faster. I’d use -j<n> where n is the core count. I think -k is useful to ensure all the tests always run. If make check returns 0, then the -k won’t make a difference. When non-zero, then it might.