This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/71632] New: hang at -O3 on x86_64-linux-gnu
- From: "chengniansun at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 Jun 2016 09:24:23 +0000
- Subject: [Bug c/71632] New: hang at -O3 on x86_64-linux-gnu
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71632
Bug ID: 71632
Summary: hang at -O3 on x86_64-linux-gnu
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: chengniansun at gmail dot com
Target Milestone: ---
This is a recent regression. gcc-5.3 is okay.
$: gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto
--prefix=/usr/local/gcc-trunk --disable-bootstrap
Thread model: posix
gcc version 7.0.0 20160623 (experimental) [trunk revision 237726] (GCC)
$:
$: timeout -s 9 30 gcc-trunk -O3 small.c
Killed
$:
$: cat small.c
int a, b;
double **c;
void fn1() {
double d;
a = 0;
for (; a < 6; a++) {
b = 0;
for (; b < 5; b++)
d = c[a][b] > d;
}
c[0][b] = d;
}
$: