This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libcilkrts/runtime/config/generic/cilk-abi-vla.c failure (was: [PATCH, committed] libcilkrts - Add check for availability of alloca.h (Bug Bootstrap/58918))


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]