public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/99421] New: ICE:in code_motion_process_successors, at sel-sched.c:6389 on aarch64
@ 2021-03-05 20:31 qinzhao at gcc dot gnu.org
  2021-03-06  8:30 ` [Bug rtl-optimization/99421] " marxin at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: qinzhao at gcc dot gnu.org @ 2021-03-05 20:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99421
           Summary: ICE:in code_motion_process_successors, at
                    sel-sched.c:6389 on aarch64
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: qinzhao at gcc dot gnu.org
  Target Milestone: ---

with the attached tar file, (from CPU2017 502.gcc_r)
untar it,
cd bug_3
sh t
during RTL pass: sched2
predict.c: In function ‘expr_expected_value_1’:
predict.c:1263:1: internal compiler error: in code_motion_process_successors,
at sel-sched.c:6389
0xd83883 code_motion_process_successors
        ../../latest_gcc_2/gcc/sel-sched.c:6386
0xd83883 code_motion_path_driver
        ../../latest_gcc_2/gcc/sel-sched.c:6609
0xd834f7 code_motion_process_successors
        ../../latest_gcc_2/gcc/sel-sched.c:6343
0xd834f7 code_motion_path_driver
        ../../latest_gcc_2/gcc/sel-sched.c:6609
0xd8645f move_op
        ../../latest_gcc_2/gcc/sel-sched.c:6702
0xd8645f move_exprs_to_boundary
        ../../latest_gcc_2/gcc/sel-sched.c:5224
0xd8645f schedule_expr_on_boundary
        ../../latest_gcc_2/gcc/sel-sched.c:5436
0xd87be3 fill_insns
        ../../latest_gcc_2/gcc/sel-sched.c:5578
0xd8a143 schedule_on_fences
        ../../latest_gcc_2/gcc/sel-sched.c:7353
0xd8a143 sel_sched_region_2
        ../../latest_gcc_2/gcc/sel-sched.c:7491
0xd8ac43 sel_sched_region_1
        ../../latest_gcc_2/gcc/sel-sched.c:7533
0xd8cc83 sel_sched_region(int)
        ../../latest_gcc_2/gcc/sel-sched.c:7634
0xd8d8d7 run_selective_scheduling()
        ../../latest_gcc_2/gcc/sel-sched.c:7720
0xd68977 rest_of_handle_sched2
        ../../latest_gcc_2/gcc/sched-rgn.c:3738
0xd68977 execute
        ../../latest_gcc_2/gcc/sched-rgn.c:3882
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.


NOTE, this error is repeated with -fprofile-use, and the pre-generated
profiling data file predict.gcda is generated with gcc11 as following:

Target: aarch64-unknown-linux-gnu
Configured with: ../latest_gcc_2/configure
--prefix=/home/qinzhao/Install/latest-2 --enable-languages=c,c++,fortran,lto
--disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.1 20210304 (experimental) (GCC) 

since the error depends on the profiling feedback data, the testing case cannot
be reduced by hand or by tool (Creduce), I have to attach the complete
preprocessed file to repeat the error.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-03-09 17:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 20:31 [Bug rtl-optimization/99421] New: ICE:in code_motion_process_successors, at sel-sched.c:6389 on aarch64 qinzhao at gcc dot gnu.org
2021-03-06  8:30 ` [Bug rtl-optimization/99421] " marxin at gcc dot gnu.org
2021-03-06 16:33 ` qinzhao at gcc dot gnu.org
2021-03-08  8:16 ` marxin at gcc dot gnu.org
2021-03-08  8:16 ` marxin at gcc dot gnu.org
2021-03-08 15:39 ` qinzhao at gcc dot gnu.org
2021-03-08 17:58 ` marxin at gcc dot gnu.org
2021-03-09  9:49 ` marxin at gcc dot gnu.org
2021-03-09  9:50 ` marxin at gcc dot gnu.org
2021-03-09 16:39 ` qing.zhao at oracle dot com
2021-03-09 17:12 ` marxin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).