Bug 86624 - [9 Regression] GCC failed to bootstrap
Summary: [9 Regression] GCC failed to bootstrap
Status: RESOLVED DUPLICATE of bug 86621
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 9.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-22 00:40 UTC by H.J. Lu
Modified: 2018-07-22 03:12 UTC (History)
2 users (show)

See Also:
Host:
Target: i686-pc-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2018-07-22 00:40:03 UTC
On Linux/i686, r262910 caused:

In file included from /export/project/git/gcc-regression/gcc/gcc/system.h:691,
                 from /export/project/git/gcc-regression/gcc/gcc/tree-vect-slp.c:23:
/export/project/git/gcc-regression/gcc/gcc/tree-vect-slp.c: In function \u2018_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)\u2019:
/export/project/git/gcc-regression/gcc/gcc/../include/libiberty.h:722:36: error: \u2018alloca\u2019 bound is unknown [-Werror=alloca-larger-than=]
 # define alloca(x) __builtin_alloca(x)
                    ~~~~~~~~~~~~~~~~^~~
/export/project/git/gcc-regression/gcc/gcc/../include/libiberty.h:356:33: note: in expansion of macro \u2018alloca\u2019
 #define XALLOCAVEC(T, N) ((T *) alloca (sizeof (T) * (N)))
                                 ^~~~~~
/export/project/git/gcc-regression/gcc/gcc/tree-vect-slp.c:1437:16: note: in expansion of macro \u2018XALLOCAVEC\u2019
    bool *tem = XALLOCAVEC (bool, group_size);
                ^~~~~~~~~~
make[3]: *** [Makefile:1112: tree-vect-slp.o] Error 1
make[2]: *** [Makefile:4647: all-stage2-gcc] Error 2
make[1]: *** [Makefile:21362: stage2-bubble] Error 2
Comment 1 Rainer Orth 2018-07-22 03:12:15 UTC
Already reported.

*** This bug has been marked as a duplicate of bug 86621 ***