public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/108193] New: [13 Regression] ICE in do_SUBST, at combine.cc:700
@ 2022-12-21  8:06 asolokha at gmx dot com
  2022-12-21  8:24 ` [Bug rtl-optimization/108193] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: asolokha at gmx dot com @ 2022-12-21  8:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108193
           Summary: [13 Regression] ICE in do_SUBST, at combine.cc:700
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: aarch64-linux-gnu

gcc 13.0.0 20221218 snapshot (g:fd69977febf399d1992bbf8d66ae9170e0a4dc9f) ICEs
when compiling the following testcase w/ -O2 -fsplit-loops
-ftree-parallelize-loops=2 -fno-tree-dominator-opts:

subroutine foo (n, r)
  implicit none
  integer :: i, j, n
  real :: s, r(*)

  s = 0.0

  do j = 1, 2
     do i = j, n
        s = r(i)
     end do
  end do

  do i = 1, n
     do j = i, n
        s = s + 1
     end do
     r(i) = s
  end do
end subroutine foo

% aarch64-linux-gnu-gfortran-13 -O2 -fsplit-loops -ftree-parallelize-loops=2
-fno-tree-dominator-opts -c fzcqm8no.f90
during RTL pass: combine
fzcqm8no.f90:20:18:

   20 | end subroutine foo
      |                  ^
internal compiler error: in do_SUBST, at combine.cc:700
0x845011 do_SUBST
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/combine.cc:700
0x1b53990 subst
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/combine.cc:5579
0x1b5671b try_combine
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/combine.cc:3299
0x1b5c19a combine_instructions
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/combine.cc:1410
0x1b5c19a rest_of_handle_combine
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/combine.cc:14978
0x1b5c19a execute
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/combine.cc:15023

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

end of thread, other threads:[~2023-05-03 15:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21  8:06 [Bug rtl-optimization/108193] New: [13 Regression] ICE in do_SUBST, at combine.cc:700 asolokha at gmx dot com
2022-12-21  8:24 ` [Bug rtl-optimization/108193] " rguenth at gcc dot gnu.org
2022-12-21 12:09 ` jakub at gcc dot gnu.org
2022-12-22 11:51 ` cvs-commit at gcc dot gnu.org
2022-12-22 11:54 ` jakub at gcc dot gnu.org
2023-02-10 17:44 ` cvs-commit at gcc dot gnu.org
2023-05-02 20:13 ` cvs-commit at gcc dot gnu.org
2023-05-03 15:20 ` cvs-commit 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).