https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71551
Bug ID: 71551 Summary: Another ICE in fold_convert_loc, in fold-const.c:2366 but this time for KNL/AVX512 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: tripiana at gmail dot com Target Milestone: --- Target: x86_64 When trying to compile a python 3.5.1 I've got this message: /apps/.GCC/6.1.0/bin/gcc -shared -B/apps/.GCC/6.1.0/bin -DMKL_LP64 -I/usr/include/ncurses -I/apps/INTEL-2017/mkl/include -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -m64 -march=native -mtune=native -Ofast -g0 -s -fmath-errno -fno-unsafe-math-optimizations -fno-finite-math-only -fno-cx-limited-range -freciprocal-math -ftree-vectorize -floop-parallelize-all -ftree-parallelize-loops=2 -fomit-frame-pointer -fno-stack-protector -fopenmp -ffunction-sections -fdata-sections -flto -fuse-linker-plugin -Wl,--gc-sections -L/apps/INTEL-2017/mkl/lib/intel64_lin -lmkl_core -lmkl_gnu_thread -lmkl_gf_lp64 -lmkl_lapack95_lp64 -L/apps/.GLIBC/2.23/lib -lpthread -lm -lmvec -ldl -Wl,-rpath,/apps/.GLIBC/2.23/lib -Wl,-rpath,/apps/.GCC/6.1.0/lib64 -Wl,-rpath,/apps/.GCC/6.1.0/lib -Wl,-rpath,/apps/INTEL-2017/mkl/lib/intel64_lin -Wl,--dynamic-linker,/apps/.GLIBC/2.23/lib/ld-linux-x86-64.so.2 -B/apps/.GCC/6.1.0/bin -DMKL_LP64 -I/usr/include/ncurses -I/apps/INTEL-2017/mkl/include -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -m64 -march=native -mtune=native -Ofast -g0 -s -fmath-errno -fno-unsafe-math-optimizations -fno-finite-math-only -fno-cx-limited-range -freciprocal-math -ftree-vectorize -floop-parallelize-all -ftree-parallelize-loops=2 -fomit-frame-pointer -fno-stack-protector -fopenmp -ffunction-sections -fdata-sections -flto -fuse-linker-plugin -Wl,--gc-sections -L/apps/INTEL-2017/mkl/lib/intel64_lin -lmkl_core -lmkl_gnu_thread -lmkl_gf_lp64 -lmkl_lapack95_lp64 -L/apps/.GLIBC/2.23/lib -lpthread -lm -lmvec -ldl -Wl,-rpath,/apps/.GLIBC/2.23/lib -Wl,-rpath,/apps/.GCC/6.1.0/lib64 -Wl,-rpath,/apps/.GCC/6.1.0/lib -Wl,-rpath,/apps/INTEL-2017/mkl/lib/intel64_lin -Wl,--dynamic-linker,/apps/.GLIBC/2.23/lib/ld-linux-x86-64.so.2 -B/apps/.GCC/6.1.0/bin -DMKL_LP64 -I/usr/include/ncurses -I/apps/INTEL-2017/mkl/include -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -m64 -march=native -mtune=native -Ofast -g0 -s -fmath-errno -fno-unsafe-math-optimizations -fno-finite-math-only -fno-cx-limited-range -freciprocal-math -ftree-vectorize -floop-parallelize-all -ftree-parallelize-loops=2 -fomit-frame-pointer -fno-stack-protector -fopenmp -ffunction-sections -fdata-sections -flto -fuse-linker-plugin -Wl,--gc-sections -L/apps/INTEL-2017/mkl/lib/intel64_lin -lmkl_core -lmkl_gnu_thread -lmkl_gf_lp64 -lmkl_lapack95_lp64 -L/apps/.GLIBC/2.23/lib -lpthread -lm -lmvec -ldl -Wl,-rpath,/apps/.GLIBC/2.23/lib -Wl,-rpath,/apps/.GCC/6.1.0/lib64 -Wl,-rpath,/apps/.GCC/6.1.0/lib -Wl,-rpath,/apps/INTEL-2017/mkl/lib/intel64_lin -Wl,--dynamic-linker,/apps/.GLIBC/2.23/lib/ld-linux-x86-64.so.2 -B/apps/.GCC/6.1.0/bin -DMKL_LP64 -I/usr/include/ncurses -I/apps/INTEL-2017/mkl/include -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -m64 -march=native -mtune=native -Ofast -g0 -s -fmath-errno -fno-unsafe-math-optimizations -fno-finite-math-only -fno-cx-limited-range -freciprocal-math -ftree-vectorize -floop-parallelize-all -ftree-parallelize-loops=2 -fomit-frame-pointer -fno-stack-protector -fopenmp -ffunction-sections -fdata-sections -flto -fuse-linker-plugin -Wl,--gc-sections -L/apps/INTEL-2017/mkl/lib/intel64_lin -lmkl_core -lmkl_gnu_thread -lmkl_gf_lp64 -lmkl_lapack95_lp64 -L/apps/.GLIBC/2.23/lib -lpthread -lm -lmvec -ldl -Wl,-rpath,/apps/.GLIBC/2.23/lib -Wl,-rpath,/apps/.GCC/6.1.0/lib64 -Wl,-rpath,/apps/.GCC/6.1.0/lib -Wl,-rpath,/apps/INTEL-2017/mkl/lib/intel64_lin -Wl,--dynamic-linker,/apps/.GLIBC/2.23/lib/ld-linux-x86-64.so.2 build/temp.linux-x86_64-3.5/numpy/core/src/umath/umathmodule.o build/temp.linux-x86_64-3.5/numpy/core/src/umath/reduction.o build/temp.linux-x86_64-3.5/build/src.linux-x86_64-3.5/numpy/core/src/umath/loops.o build/temp.linux-x86_64-3.5/numpy/core/src/umath/ufunc_object.o build/temp.linux-x86_64-3.5/build/src.linux-x86_64-3.5/numpy/core/src/umath/scalarmath.o build/temp.linux-x86_64-3.5/numpy/core/src/umath/ufunc_type_resolution.o -L/apps/PYTHON/3.5.1/lib -Lbuild/temp.linux-x86_64-3.5 -lnpymath -lm -lpython3.5m -o build/lib.linux-x86_64-3.5/numpy/core/umath.cpython-35m-x86_64-linux-gnu.so numpy/core/src/umath/ufunc_object.c:5064:1: error interno del compilador: en fold_convert_loc, en fold-const.c:2366 ufunc_reduceat(PyUFuncObject *ufunc, PyObject *args, PyObject *kwds) ^ 0x7391b6 fold_convert_loc(unsigned int, tree_node*, tree_node*) ../../gcc/fold-const.c:2366 0x72e75d fold_ternary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*, tree_node*) ../../gcc/fold-const.c:11638 0x770d1d fold_gimple_assign ../../gcc/gimple-fold.c:407 0x770d1d fold_stmt_1 ../../gcc/gimple-fold.c:3710 0xa43bfa execute ../../gcc/tree-ssa-forwprop.c:2309 The problem now starts at tree-ssa-forwprop.c:2309 and ends in fold-const.c:2366, but it is not the error fixed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69379