https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71551

--- Comment #6 from Carlos Tripiana Montes <tripiana at gmail dot com> ---
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.

Reply via email to