https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110769
Zhendong Su <zhendong.su at inf dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zhendong.su at inf dot ethz.ch
--- Comment #2 from Zhendong Su <zhendong.su at inf dot ethz.ch> ---
Another related test:
[591] % gcctk -O3 small.c
during GIMPLE pass: ch_vect
small.c: In function ‘main’:
small.c:2:5: internal compiler error: in adjust_loop_info_after_peeling, at
tree-ssa-loop-ivcanon.cc:1023
2 | int main() {
| ^~~~
0x821ffd adjust_loop_info_after_peeling(loop*, int, bool)
../../gcc-trunk/gcc/tree-ssa-loop-ivcanon.cc:1023
0x1142471 copy_headers
../../gcc-trunk/gcc/tree-ssa-loop-ch.cc:1110
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
[592] %
[592] % cat small.c
int a, b, c, *d = &a;
int main() {
while (b)
;
a++;
if (!c && !d)
__builtin_abort();
while (!a || b > 0)
b++;
return 0;
}