[Bug tree-optimization/97559] [11 Regression] ICE at -O1 and above on x86_64-pc-linux-gnu: verify_ssa failed
zhendong.su at inf dot ethz.ch
gcc-bugzilla@gcc.gnu.org
Tue Nov 3 21:09:51 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97559
Zhendong Su <zhendong.su at inf dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zhendong.su at inf dot ethz.ch
--- Comment #4 from Zhendong Su <zhendong.su at inf dot ethz.ch> ---
Another repro for the same ICE (but only at -Os):
[541] % gcctk -O1 -c small.c
[542] % gcctk -O2 -c small.c
[543] % gcctk -O3 -c small.c
[544] %
[544] % gcctk -Os -c small.c
small.c: In function ‘e’:
small.c:3:6: error: stmt with wrong VUSE
3 | void e() {
| ^
# VUSE <.MEM_7(D)>
f_8 = b;
expected .MEM_5
during GIMPLE pass: sink
small.c:3:6: internal compiler error: verify_ssa failed
0xf707cb verify_ssa(bool, bool)
../../gcc-trunk/gcc/tree-ssa.c:1208
0xbfe3e7 execute_function_todo
../../gcc-trunk/gcc/passes.c:2046
0xbff192 execute_todo
../../gcc-trunk/gcc/passes.c:2093
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
[545] %
[545] % cat small.c
int a, b, c, d;
void e() {
int f = b;
if (a) {
L1:
a = 0;
L2:
if (a) {
c = b;
goto L1;
}
}
if (d)
goto L2;
}
More information about the Gcc-bugs
mailing list