On Wed, 30 Oct 2013, Iyer, Balaji V wrote:
> This attached patch will check for usage of alloca.h before using it.
> The change is entirely in libcilkrts and I am committing this change as
> it is pretty obvious (the change was lifted from the autconf manual
> example).
Thanks, Balaji!
Now my FreeBSD tester no longer shows this failure, but this:
/scratch2/tmp/gerald/gcc-HEAD/libcilkrts/runtime/config/generic/cilk-abi-vla.c:
In function \xe2\x80\x98__cilkrts_stack_free\xe2\x80\x99:
/scratch2/tmp/gerald/gcc-HEAD/libcilkrts/runtime/config/generic/cilk-abi-vla.c:1
06:28: error: \xe2\x80\x98t\xe2\x80\x99 undeclared (first use in this function)
vla_internal_heap_free(t, full_size);
^
Looking at the source coude, indeed t is not declared anywhere that
I can see.
So, two issues:
- Why is it using the /generic subdirectory and not /x86 on
i386-unknown-freebsd10.0?
- What doesn't libcilkrts/runtime/config/generic/cilk-abi-vla.c compile?
Gerald