Re: [PATCH] Replace XALLOCAVEC with XCNEWVEC (PR c/79471).

2017-02-13 Thread Bernd Schmidt
On 02/13/2017 02:06 PM, Martin Liška wrote: On 02/13/2017 01:58 PM, Bernd Schmidt wrote: On 02/13/2017 11:15 AM, Martin Liška wrote: In order to not cause a stack overflow, lets use a vector allocated on heap instead of the one created by XALLOCVEC. Patch can bootstrap on ppc64le-redhat-linux

Re: [PATCH] Replace XALLOCAVEC with XCNEWVEC (PR c/79471).

2017-02-13 Thread Martin Liška
On 02/13/2017 01:58 PM, Bernd Schmidt wrote: > On 02/13/2017 11:15 AM, Martin Liška wrote: >> In order to not cause a stack overflow, lets use a vector allocated on heap >> instead of >> the one created by XALLOCVEC. >> >> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.

Re: [PATCH] Replace XALLOCAVEC with XCNEWVEC (PR c/79471).

2017-02-13 Thread Bernd Schmidt
On 02/13/2017 11:15 AM, Martin Liška wrote: In order to not cause a stack overflow, lets use a vector allocated on heap instead of the one created by XALLOCVEC. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Ok. I'm surprised this is marked as a regression, but it'

[PATCH] Replace XALLOCAVEC with XCNEWVEC (PR c/79471).

2017-02-13 Thread Martin Liška
:00:00 2001 From: marxin Date: Mon, 13 Feb 2017 09:25:36 +0100 Subject: [PATCH] Replace XALLOCAVEC with XCNEWVEC (PR c/79471). gcc/ChangeLog: 2017-02-13 Martin Liska PR c/79471 * calls.c (expand_call): Replace XALLOCAVEC with XCNEWVEC. --- gcc/calls.c | 4 ++-- 1 file changed, 2 inserti