[Bug rtl-optimization/99421] ICE:in code_motion_process_successors, at sel-sched.c:6389 on aarch64

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 8 17:58:45 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99421

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to qinzhao from comment #4)
> (In reply to Martin Liška from comment #3)
> > Confirmed, reduced test-case:
> >
> just curious, how did you reduce the testing case with -fprofile-use? (I

Sure. I used C-Vise:
https://github.com/marxin/cvise

with a built cross compiler:
cvise -c 'cp ~/Programming/gcc2/objdir/gcc/predict.gcda . &&
/home/marxin/Programming/gcc2/objdir/gcc/xgcc -B
/home/marxin/Programming/gcc2/objdir/gcc/ -fprofile-use -fselective-scheduling
-fselective-scheduling2 -fsel-sched-pipelining -g  -O3 -fno-strict-aliasing -c
predict.i 2>&1 | grep code_motion_process_successors' predict.i

> tried Creduce, but failed)
> another question, how to repeat the failure with this reduced testing case?

Note that one can theoretically reduce also the .gcda file. I have an
experimental pass for it in C-Vise and I will likely upstream it.

Does it explain all your questions?


More information about the Gcc-bugs mailing list