Bug 71551 - Another ICE in fold_convert_loc, in fold-const.c:2366 but this time for KNL/AVX512
Summary: Another ICE in fold_convert_loc, in fold-const.c:2366 but this time for KNL/A...
Status: RESOLVED DUPLICATE of bug 71279
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 6.1.0
: P3 major
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-16 09:18 UTC by Carlos Tripiana Montes
Modified: 2016-06-16 12:07 UTC (History)
0 users

See Also:
Host:
Target: x86_64
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
intermediate file (97.87 KB, text/plain)
2016-06-16 11:25 UTC, Carlos Tripiana Montes
Details
assembler file (10.08 KB, text/plain)
2016-06-16 11:25 UTC, Carlos Tripiana Montes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Tripiana Montes 2016-06-16 09:18:00 UTC
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
Comment 1 Marc Glisse 2016-06-16 10:57:28 UTC
Please include preprocessed source code.
Comment 2 Carlos Tripiana Montes 2016-06-16 11:07:22 UTC
(In reply to Marc Glisse from comment #1)
> Please include preprocessed source code.

I wanted to do so, but this compilation line does not give me a *.i file(s) just a bunch of ltrans0.ltrans.o, ltrans*.o and ltrans*.s. I guess it's because it's a link step.

How shall I proceed?
Comment 3 Markus Trippelsdorf 2016-06-16 11:12:10 UTC
(In reply to Carlos Tripiana Montes from comment #2)
> (In reply to Marc Glisse from comment #1)
> > Please include preprocessed source code.
> 
> I wanted to do so, but this compilation line does not give me a *.i file(s)
> just a bunch of ltrans0.ltrans.o, ltrans*.o and ltrans*.s. I guess it's
> because it's a link step.
> 
> How shall I proceed?

Does the ICE also happen without -flto?
If not, see: https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction#Reducing_LTO_bugs
Comment 4 Carlos Tripiana Montes 2016-06-16 11:25:13 UTC
Created attachment 38711 [details]
intermediate file
Comment 5 Carlos Tripiana Montes 2016-06-16 11:25:35 UTC
Created attachment 38712 [details]
assembler file
Comment 6 Carlos Tripiana Montes 2016-06-16 11:26:05 UTC
I have clean and redone the compilation, without LTO. Now fails in the file compilation, not at link time.

I have attached the preprocessed file(s).

NOTE: This only happens in KNL/AVX512 machine. The same stack + compilation in a Haswell does the job right.

/apps/.GCC/6.1.0/bin/gcc -DNDEBUG -g -Wall -Wstrict-prototypes -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 -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 -fPIC -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.5/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.linux-x86_64-3.5/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/apps/PYTHON/3.5.1/include/python3.5m -Ibuild/src.linux-x86_64-3.5/numpy/core/src/private -Ibuild/src.linux-x86_64-3.5/numpy/core/src/private -Ibuild/src.linux-x86_64-3.5/numpy/core/src/private -c numpy/core/src/umath/ufunc_object.c -o build/temp.linux-x86_64-3.5/numpy/core/src/umath/ufunc_object.o -v -save-temps
Usando especificaciones internas.
COLLECT_GCC=/apps/.GCC/6.1.0/bin/gcc
Objetivo: x86_64-rhel-linux
Configurado con: ../configure --prefix=/apps/.GCC/6.1.0 --enable-ld --disable-multilib --enable-languages=c,c++,objc,fortran,obj-c++,java --enable-threads=posix --enable-checking=release --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-libssp --disable-libssp --disable-libgcj --disable-libmudflap --enable-linux-futex --without-system-libunwind --with-system-zlib --enable-lto --enable-plugin --build=x86_64-rhel-linux --with-glibc-version=2.23 --with-native-system-header-dir=/include --with-sysroot=/apps/.GLIBC/2.23 --with-build-sysroot=/apps/.GLIBC/2.23 --with-stage1-ldflags='-static-libstdc++ -static-libgcc --sysroot=/apps/.GLIBC/2.23 -L/apps/.GLIBC/2.23/lib -L/apps/.GLIBC/2.23/lib64 -Wl,-rpath,/apps/.GLIBC/2.23/lib -Wl,-rpath,/apps/.GLIBC/2.23/lib64 -Wl,--dynamic-linker,/apps/.GLIBC/2.23/lib/ld-linux-x86-64.so.2' --with-boot-ldflags='-static-libstdc++ -static-libgcc --sysroot=/apps/.GLIBC/2.23 -L/apps/.GLIBC/2.23/lib -L/apps/.GLIBC/2.23/lib64 -Wl,-rpath,/apps/.GLIBC/2.23/lib -Wl,-rpath,/apps/.GLIBC/2.23/lib64 -Wl,--dynamic-linker,/apps/.GLIBC/2.23/lib/ld-linux-x86-64.so.2'
Modelo de hilos: posix
gcc versión 6.1.0 (GCC) 
COLLECT_GCC_OPTIONS='-D' 'NDEBUG' '-g' '-Wall' '-Wstrict-prototypes' '-B' '/apps/.GCC/6.1.0/bin' '-D' 'MKL_LP64' '-I' '/usr/include/ncurses' '-I' '/apps/INTEL-2017/mkl/include' '-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' '-L/apps/INTEL-2017/mkl/lib/intel64_lin' '-L/apps/.GLIBC/2.23/lib' '-fPIC' '-D' 'HAVE_NPY_CONFIG_H=1' '-D' '_FILE_OFFSET_BITS=64' '-D' '_LARGEFILE_SOURCE=1' '-D' '_LARGEFILE64_SOURCE=1' '-I' 'build/src.linux-x86_64-3.5/numpy/core/src/umath' '-I' 'numpy/core/include' '-I' 'build/src.linux-x86_64-3.5/numpy/core/include/numpy' '-I' 'numpy/core/src/private' '-I' 'numpy/core/src' '-I' 'numpy/core' '-I' 'numpy/core/src/npymath' '-I' 'numpy/core/src/multiarray' '-I' 'numpy/core/src/umath' '-I' 'numpy/core/src/npysort' '-I' '/apps/PYTHON/3.5.1/include/python3.5m' '-I' 'build/src.linux-x86_64-3.5/numpy/core/src/private' '-I' 'build/src.linux-x86_64-3.5/numpy/core/src/private' '-I' 'build/src.linux-x86_64-3.5/numpy/core/src/private' '-c' '-o' 'build/temp.linux-x86_64-3.5/numpy/core/src/umath/ufunc_object.o' '-v' '-save-temps' '-pthread'
 /apps/.GCC/6.1.0/libexec/gcc/x86_64-rhel-linux/6.1.0/cc1 -E -quiet -v -I /usr/include/ncurses -I /apps/INTEL-2017/mkl/include -I build/src.linux-x86_64-3.5/numpy/core/src/umath -I numpy/core/include -I build/src.linux-x86_64-3.5/numpy/core/include/numpy -I numpy/core/src/private -I numpy/core/src -I numpy/core -I numpy/core/src/npymath -I numpy/core/src/multiarray -I numpy/core/src/umath -I numpy/core/src/npysort -I /apps/PYTHON/3.5.1/include/python3.5m -I build/src.linux-x86_64-3.5/numpy/core/src/private -I build/src.linux-x86_64-3.5/numpy/core/src/private -I build/src.linux-x86_64-3.5/numpy/core/src/private -D_REENTRANT -D NDEBUG -D MKL_LP64 -U _FORTIFY_SOURCE -D _FORTIFY_SOURCE=0 -D HAVE_NPY_CONFIG_H=1 -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE=1 -D _LARGEFILE64_SOURCE=1 numpy/core/src/umath/ufunc_object.c -march=knl -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mavx512f -mavx512er -mavx512cd -mavx512pf -mprefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-pcommit -mno-mwaitx -mno-clzero -mno-pku --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=knl -m64 -Wall -Wstrict-prototypes -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 -fPIC -Ofast -fpch-preprocess -o ufunc_object.i
se descarta el directorio inexistente "/apps/.GCC/6.1.0/lib/gcc/x86_64-rhel-linux/6.1.0/../../../../x86_64-rhel-linux/include"
se descarta el directorio duplicado "/apps/.GLIBC/2.23/include"
se descarta el directorio duplicado "build/src.linux-x86_64-3.5/numpy/core/src/private"
se descarta el directorio duplicado "build/src.linux-x86_64-3.5/numpy/core/src/private"
la búsqueda de #include "..." inicia aquí:
la búsqueda de #include <...> inicia aquí:
 /usr/include/ncurses
 /apps/INTEL-2017/mkl/include
 build/src.linux-x86_64-3.5/numpy/core/src/umath
 numpy/core/include
 build/src.linux-x86_64-3.5/numpy/core/include/numpy
 numpy/core/src/private
 numpy/core/src
 numpy/core
 numpy/core/src/npymath
 numpy/core/src/multiarray
 numpy/core/src/umath
 numpy/core/src/npysort
 /apps/PYTHON/3.5.1/include/python3.5m
 build/src.linux-x86_64-3.5/numpy/core/src/private
 /apps/.GCC/6.1.0/lib/gcc/x86_64-rhel-linux/6.1.0/include
 /apps/.GLIBC/2.23/usr/local/include
 /apps/.GCC/6.1.0/lib/gcc/x86_64-rhel-linux/6.1.0/include-fixed
Fin de la lista de búsqueda.
COLLECT_GCC_OPTIONS='-D' 'NDEBUG' '-g' '-Wall' '-Wstrict-prototypes' '-B' '/apps/.GCC/6.1.0/bin' '-D' 'MKL_LP64' '-I' '/usr/include/ncurses' '-I' '/apps/INTEL-2017/mkl/include' '-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' '-L/apps/INTEL-2017/mkl/lib/intel64_lin' '-L/apps/.GLIBC/2.23/lib' '-fPIC' '-D' 'HAVE_NPY_CONFIG_H=1' '-D' '_FILE_OFFSET_BITS=64' '-D' '_LARGEFILE_SOURCE=1' '-D' '_LARGEFILE64_SOURCE=1' '-I' 'build/src.linux-x86_64-3.5/numpy/core/src/umath' '-I' 'numpy/core/include' '-I' 'build/src.linux-x86_64-3.5/numpy/core/include/numpy' '-I' 'numpy/core/src/private' '-I' 'numpy/core/src' '-I' 'numpy/core' '-I' 'numpy/core/src/npymath' '-I' 'numpy/core/src/multiarray' '-I' 'numpy/core/src/umath' '-I' 'numpy/core/src/npysort' '-I' '/apps/PYTHON/3.5.1/include/python3.5m' '-I' 'build/src.linux-x86_64-3.5/numpy/core/src/private' '-I' 'build/src.linux-x86_64-3.5/numpy/core/src/private' '-I' 'build/src.linux-x86_64-3.5/numpy/core/src/private' '-c' '-o' 'build/temp.linux-x86_64-3.5/numpy/core/src/umath/ufunc_object.o' '-v' '-save-temps' '-pthread'
 /apps/.GCC/6.1.0/libexec/gcc/x86_64-rhel-linux/6.1.0/cc1 -fpreprocessed ufunc_object.i -march=knl -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mavx512f -mavx512er -mavx512cd -mavx512pf -mprefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-pcommit -mno-mwaitx -mno-clzero -mno-pku --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=knl -quiet -dumpbase ufunc_object.c -m64 -auxbase-strip build/temp.linux-x86_64-3.5/numpy/core/src/umath/ufunc_object.o -g -g0 -Ofast -Wall -Wstrict-prototypes -version -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 -fPIC -o ufunc_object.s
GNU C11 (GCC) versión 6.1.0 (x86_64-rhel-linux)
	compilado por GNU C versión 6.1.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15
GGC heurísticas: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C11 (GCC) versión 6.1.0 (x86_64-rhel-linux)
	compilado por GNU C versión 6.1.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15
GGC heurísticas: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 72fab6e2f594ec32bd20bd53b2fdc0a0
numpy/core/src/umath/ufunc_object.c: En la función ‘PyUFunc_GenericReduction’:
numpy/core/src/umath/ufunc_object.c:3756:1: error interno del compilador: en fold_convert_loc, en fold-const.c:2366
 PyUFunc_GenericReduction(PyUFuncObject *ufunc, PyObject *args,
 ^~~~~~~~~~~~~~~~~~~~~~~~
0x7c7986 fold_convert_loc(unsigned int, tree_node*, tree_node*)
	../../gcc/fold-const.c:2366
0x7bcf2d fold_ternary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*, tree_node*)
	../../gcc/fold-const.c:11638
0x7feeed fold_gimple_assign
	../../gcc/gimple-fold.c:407
0x7feeed fold_stmt_1
	../../gcc/gimple-fold.c:3710
0xad300a execute
	../../gcc/tree-ssa-forwprop.c:2309
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Comment 7 Markus Trippelsdorf 2016-06-16 11:39:04 UTC
Seems to be fixed already on gcc-6 branch.

Confirmed with an older compiler:

GNU C11 (GCC) version 6.1.1 20160527 (x86_64-pc-linux-gnu)
        compiled by GNU C version 6.1.1 20160527, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 92777a25c329ef4e7f275dde4c25c746
numpy/core/src/umath/ufunc_object.c: In function ‘PyUFunc_GenericReduction’:
numpy/core/src/umath/ufunc_object.c:3756:1: internal compiler error: in fold_convert_loc, at fold-const.c:2367
Comment 8 Carlos Tripiana Montes 2016-06-16 11:46:23 UTC
OK, but 6.1.1 is not yet released, so in this case I just need the link to the original bug, so as to seek for the patch.

I just unable to find the bug. Please, I need the link.


(In reply to Markus Trippelsdorf from comment #7)
> Seems to be fixed already on gcc-6 branch.
> 
> Confirmed with an older compiler:
> 
> GNU C11 (GCC) version 6.1.1 20160527 (x86_64-pc-linux-gnu)
>         compiled by GNU C version 6.1.1 20160527, GMP version 6.1.0, MPFR
> version 3.1.4, MPC version 1.0.3, isl version none
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> Compiler executable checksum: 92777a25c329ef4e7f275dde4c25c746
> numpy/core/src/umath/ufunc_object.c: In function ‘PyUFunc_GenericReduction’:
> numpy/core/src/umath/ufunc_object.c:3756:1: internal compiler error: in
> fold_convert_loc, at fold-const.c:2367
Comment 9 Markus Trippelsdorf 2016-06-16 11:51:12 UTC
(In reply to Carlos Tripiana Montes from comment #8)
> OK, but 6.1.1 is not yet released, so in this case I just need the link to
> the original bug, so as to seek for the patch.
> 
> I just unable to find the bug. Please, I need the link.

I'm not sure what revision fixed the bug.
So sorry, you'll will have to reverse bisect the issue yourself.
Comment 10 Markus Trippelsdorf 2016-06-16 12:07:58 UTC
dup.

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