public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/110939] New: 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64
@ 2023-08-08  2:20 panchenghui at loongson dot cn
  2023-08-08  2:25 ` [Bug rtl-optimization/110939] [14 Regression] " pinskia at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: panchenghui at loongson dot cn @ 2023-08-08  2:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110939
           Summary: 14.0 ICE at rtl.h:2297 while bootstrapping on
                    loongarch64
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: panchenghui at loongson dot cn
  Target Milestone: ---

since commit 7cdd0860949c6c3232e6cff1d7ca37bb5234074c, I get ICE at rtl.h:2297
when I try to bootstrap on loongarch64. 
I have seen the similar case in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110869 and try to build with the
latest commits in master branch but the problem still exists.

Configure:
../gcc/configure --prefix=/home/panchenghui/upstream-unmodded/build/install
--disable-libsanitizer --disable-gcov --disable-multilib

ICE output:
during RTL pass: combine
/home/panchenghui/upstream-unmodded/gcc/gcc/tree-cfgcleanup.cc: In function
'bool want_merge_blocks_p(basic_block, basic_block)':
/home/panchenghui/upstream-unmodded/gcc/gcc/tree-cfgcleanup.cc:761:1: internal
compiler error: in decompose, at rtl.h:2297
  761 | }
      | ^
0x1210c7997 wi::int_traits<std::pair<rtx_def*, machine_mode>
>::decompose(long*, unsigned int, std::pair<rtx_def*, machine_mode> const&)
        /home/panchenghui/upstream-unmodded/gcc/gcc/rtl.h:2297
0x1211478cb wide_int_ref_storage<false,
true>::wide_int_ref_storage<std::pair<rtx_def*, machine_mode>
>(std::pair<rtx_def*, machine_mode> const&)
        /home/panchenghui/upstream-unmodded/gcc/gcc/wide-int.h:1030
0x121146bab generic_wide_int<wide_int_ref_storage<false, true>
>::generic_wide_int<std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&)
        /home/panchenghui/upstream-unmodded/gcc/gcc/wide-int.h:788
0x12177d13b simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
        /home/panchenghui/upstream-unmodded/gcc/gcc/simplify-rtx.cc:2131
0x1217774e7 simplify_context::simplify_unary_operation(rtx_code, machine_mode,
rtx_def*, machine_mode)
        /home/panchenghui/upstream-unmodded/gcc/gcc/simplify-rtx.cc:889
0x12177568f simplify_context::simplify_gen_unary(rtx_code, machine_mode,
rtx_def*, machine_mode)
        /home/panchenghui/upstream-unmodded/gcc/gcc/simplify-rtx.cc:360
0x120f6e79f simplify_gen_unary(rtx_code, machine_mode, rtx_def*, machine_mode)
        /home/panchenghui/upstream-unmodded/gcc/gcc/rtl.h:3520
0x12227818b simplify_comparison
        /home/panchenghui/upstream-unmodded/gcc/gcc/combine.cc:13129
0x1222607c7 combine_simplify_rtx
        /home/panchenghui/upstream-unmodded/gcc/gcc/combine.cc:6176
0x12225e30f subst
        /home/panchenghui/upstream-unmodded/gcc/gcc/combine.cc:5609
0x12225df23 subst
        /home/panchenghui/upstream-unmodded/gcc/gcc/combine.cc:5536
0x12225df23 subst
        /home/panchenghui/upstream-unmodded/gcc/gcc/combine.cc:5536
0x122256ac7 try_combine
        /home/panchenghui/upstream-unmodded/gcc/gcc/combine.cc:3369
0x1222506fb combine_instructions
        /home/panchenghui/upstream-unmodded/gcc/gcc/combine.cc:1357
0x12227da6b rest_of_handle_combine
        /home/panchenghui/upstream-unmodded/gcc/gcc/combine.cc:15063
0x12227db83 execute
        /home/panchenghui/upstream-unmodded/gcc/gcc/combine.cc:15107

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

end of thread, other threads:[~2023-10-02  5:23 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-08  2:20 [Bug bootstrap/110939] New: 14.0 ICE at rtl.h:2297 while bootstrapping on loongarch64 panchenghui at loongson dot cn
2023-08-08  2:25 ` [Bug rtl-optimization/110939] [14 Regression] " pinskia at gcc dot gnu.org
2023-08-08  8:27 ` rguenth at gcc dot gnu.org
2023-08-08  9:41 ` panchenghui at loongson dot cn
2023-08-08  9:41 ` xry111 at gcc dot gnu.org
2023-08-08 10:36 ` panchenghui at loongson dot cn
2023-08-08 10:37 ` xry111 at gcc dot gnu.org
2023-08-08 10:58 ` stefansf at linux dot ibm.com
2023-08-08 11:20 ` panchenghui at loongson dot cn
2023-08-08 11:21 ` panchenghui at loongson dot cn
2023-08-08 17:02 ` stefansf at linux dot ibm.com
2023-08-09  1:55 ` panchenghui at loongson dot cn
2023-08-11 14:28 ` stefansf at linux dot ibm.com
2023-08-24  0:45 ` xry111 at gcc dot gnu.org
2023-08-26  2:28 ` xry111 at gcc dot gnu.org
2023-08-26  2:28 ` xry111 at gcc dot gnu.org
2023-10-02  4:27 ` xry111 at gcc dot gnu.org
2023-10-02  5:21 ` xry111 at gcc dot gnu.org
2023-10-02  5:21 ` xry111 at gcc dot gnu.org
2023-10-02  5:22 ` xry111 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).