Issue |
138509
|
Summary |
[14.0.0 regression] Compiler hang at -O3 on x86_64-linux-gnu
|
Labels |
new issue
|
Assignees |
|
Reporter |
KavyaChopra04
|
Godbolt link: https://godbolt.org/z/d3EhhfEEK
```
[618] % clangtk -v
clang version 21.0.0git (https://github.com/llvm/llvm-project.git 41647412c6a4091080fd47b0f554adc5c54b4b54)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /local/suz-local/software/local/clang-trunk/bin
Build config: +assertions
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11
Candidate multilib: .;@m64
Selected multilib: .;@m64
[619] %
[619] % timeout -s 9 20 clangtk -O3 small.c
Killed
[620] %
[620] % cat small.c
int a, b, c, d, e;
int main() {
f:
goto g;
h:
goto i;
j:
goto k;
g:
if (e)
goto l;
goto m;
k:
c = 1;
if (d >= 0)
goto o;
n:
goto q;
p:
c = c * 3;
e = c - 1;
if (e * a >= 0)
goto s;
i:
goto n;
r:
goto h;
l:
goto j;
m:
goto r;
s:
b = a * c;
if (b >= 0)
goto p;
goto k;
o:
b = e;
if (e * d)
goto f;
goto s;
q:;
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs