Hi Gerald,

> On Sun, 22 Jul 2018, Gerald Pfeifer wrote:
>> With clang version 3.4 (system compiler on FreeBSD 10.x) this is
>> even a hard error and GCC failed to build.  So thanks for fixing
>> this, Martin!
>
> Unfortunately it appears there was another bootstrap failure hidden
> behind that one:
>
>
> In file included from /scratch/tmp/gerald/GCC-HEAD/gcc/system.h:691,
>                  from /scratch/tmp/gerald/GCC-HEAD/gcc/tree-vect-slp.c:23:
> /scratch/tmp/gerald/GCC-HEAD/gcc/tree-vect-slp.c: In function 
> ‘_slp_tree* vect_build_slp_tree_2(vec_info*, vec<gimple*>, unsigned int, 
> poly_uint64*, vec<_slp_tree*>*, bool*, unsigned int*, unsigned int*, 
> unsigned int)’:
> /scratch/tmp/gerald/GCC-HEAD/gcc/../include/libiberty.h:722:36: error: 
> ‘alloca’ bound is unknown [-Werror=alloca-larger-than=]
>  # define alloca(x) __builtin_alloca(x)
>                     ~~~~~~~~~~~~~~~~^~~
> /scratch/tmp/gerald/GCC-HEAD/gcc/../include/libiberty.h:356:33: note: in 
> expansion of macro ‘alloca’
>  #define XALLOCAVEC(T, N) ((T *) alloca (sizeof (T) * (N)))
>                                  ^~~~~~
> /scratch/tmp/gerald/GCC-HEAD/gcc/tree-vect-slp.c:1437:16: note: in expansion 
> of macro ‘XALLOCAVEC’
>     bool *tem = XALLOCAVEC (bool, group_size);
>                 ^~~~~~~~~~
> cc1plus: all warnings being treated as errors
> gmake[3]: *** [Makefile:1112: tree-vect-slp.o] Error 1
> gmake[3]: Leaving directory '/scratch/tmp/gerald/OBJ-0722-0939/gcc'
> gmake[2]: *** [Makefile:4644: all-stage2-gcc] Error 2
>
>
> This is on FreeBSD 10.4 which features clang 3.4.1 as system compiler;
> FreeBSD 11.2 with clang 6.0.0 does not trigger that.

known issue: PR bootstrap/86621.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to