https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63704
Bug ID: 63704
Summary: -flto internal compiler error: in
mems_in_disjoint_alias_sets_p, at alias.c:398
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: jtaylor.debian at googlemail dot com
Created attachment 33856
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33856&action=edit
creduced testcase files
attached reduced testcase run with the run.sh file produces an ice with current
trunk (20141026).
The issue can also be preproduced with 4.9.2 and 4.8.2
tar xf testcase.tar.gz
cd testcase
#adapt path to gcc and lto1 in the run.sh script
./run.sh
...
/tmp/creduce-gzds4W/lowlevel_strided_loops.i: In function ‘fn1’:
/tmp/creduce-gzds4W/lowlevel_strided_loops.i:10:1: internal compiler error: in
mems_in_disjoint_alias_sets_p, at alias.c:398
gcc -v
Using built-in specs.
COLLECT_GCC=/scratch/jtaylor/gcc/local-trunk/bin//gcc
COLLECT_LTO_WRAPPER=/scratch/jtaylor/gcc/local-trunk/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /media/jtaylor/external1/buildacc/gcc-trunk/configure
--disable-werror --enable-languages=c,c++,fortran --enable-tls
--prefix=/scratch/jtaylor/gcc/local-trunk --with-gmp=/usr --with-mpfr=/usr
--with-mpc=/usr --with-cloog=/usr --with-ppl=/usr --with-isl=/usr
--disable-bootstrap --enable-checking=release
Thread model: posix
gcc version 5.0.0 20141026 (experimental) (GCC)
to reproduce using the full source (requires python development headers):
git clone git://github.com/numpy/numpy
cd numpy
CC='gcc -fno-fat-lto-objects -flto=4 -fuse-linker-plugin -O3' LDSHARED='gcc
-fno-fat-lto-objects -flto=4 -fuse-linker-plugin -shared -O3' AR=gcc-ar python
setup.py build_ext