Re: [PATCH 1/8] [BRIGFE] fix an alloca stack underflow

2018-05-04 Thread Pekka Jääskeläinen
Committed as r259942. On Fri, May 4, 2018 at 4:56 PM, Pekka Jääskeläinen wrote: > We didn't preserve additional space for the alloca frame pointers that > are needed to be saved in the alloca space.

[PATCH 1/8] [BRIGFE] fix an alloca stack underflow

2018-05-04 Thread Pekka Jääskeläinen
We didn't preserve additional space for the alloca frame pointers that are needed to be saved in the alloca space. Fixes libgomp.c++/target-6.C execution test. --- libhsail-rt/rt/workitems.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/libhsail-rt/rt/worki