http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58918

            Bug ID: 58918
           Summary: [4.9 regression] cilk #includes alloc.h
                    unconditionally, even when not present
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerald at pfeifer dot com

/scratch/tmp/gerald/gcc-HEAD/libcilkrts/runtime/config/x86/cilk-abi-vla.c:66:21:
 fatal error: alloca.h: No such file or directory
 # include <alloca.h>

on amd64-unknown-freebsd8.2 and, I assume, several other non-GNU
platforms.

/usr/include/stdlib.h has alloca on those platforms.  

Perhaps __builtin_alloca could be another option?

Reply via email to