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: Chen Gang <gang dot chen dot 5i5j at gmail dot com>
- To: Mike Stump <mikestump at comcast dot net>
- 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: Thu, 21 Aug 2014 06:08:27 +0800
- 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> <EC09EF28-C25A-43FA-8304-B53C0597F3C1 at comcast dot net> <53F4E90D dot 1070700 at gmail dot com> <28C8D3B2-3AA0-4962-83BB-A06D2C12BD84 at comcast dot net>
On 08/21/2014 03:23 AM, Mike Stump wrote:
> On Aug 20, 2014, at 11:29 AM, Chen Gang <gang.chen.5i5j@gmail.com> wrote:
>>
>> It sounds useful to me. At present, my PC is 4 core, so I guess, -j2
>
> No, -j4…. should be around twice as fast as -j2 on your machine (assuming you aren’t memory starved (4GB or more)).
>
>> for 2 directories are enough. This time (without "--disable-multilibs),
>> I still use 1x, for I am not sure that it must be success.
>
> Right, the -j won’t impact correctness, only speed of result.
>
At present, normal "../gcc/configure && make" is OK for both original
directory and new directory. tonight, I shall run "make check" (I guess,
it shall be OK, too), then try to send related patch tomorrow morning.
Thanks.
--
Chen Gang
Open share and attitude like air water and life which God blessed