[Bug tree-optimization/68761] New: -floop-interchange internal compiler error: in create_tmp_var, at gimple-expr.c:519
jtaylor.debian at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 7 12:13:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68761
Bug ID: 68761
Summary: -floop-interchange internal compiler error: in
create_tmp_var, at gimple-expr.c:519
Product: gcc
Version: 5.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: jtaylor.debian at googlemail dot com
Target Milestone: ---
following code causes an ICE in gcc 5.3.0 when compiled with
-floop-interchange. Not sure if it is an regression as I currently don't have a
5.2 available. gcc 4.8 and current gcc svn head are fine.
int a, b, c;
void fn1() {
int n;
a = 0;
for (; a < n; a++) {
c = 0;
for (; c < n; c++, b++)
;
}
}
$ gcc -g -O3 -floop-interchange -std=c99 lin.i
lin.i: In function ‘fn1’:
lin.i:2:6: internal compiler error: in create_tmp_var, at gimple-expr.c:519
void fn1() {
^
Please submit a full bug report,
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/tmp/local/jenkins-gcc/bin/../libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --enable-languages=c,c++,fortran --enable-tls
--prefix=/diskb/scratch/jenkinsBuild/psdubuntu12-04-amd64/workspace/user-jtaylor-gcc-multi/ARCH/x86_64/OS/Ubuntu12.04/jenkins-gcc/
--disable-bootstrap --disable-werror --disable-multilib
Thread model: posix
gcc version 5.3.0 (GCC)
$ gcc --version
gcc (GCC) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
More information about the Gcc-bugs
mailing list