public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/114736] New: ICE during SLP pass with gfortran-13 -O3 -mcpu=neoverse-v2
@ 2024-04-16  6:53 prathamesh3492 at gcc dot gnu.org
  2024-04-16  7:06 ` [Bug tree-optimization/114736] " prathamesh3492 at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: prathamesh3492 at gcc dot gnu.org @ 2024-04-16  6:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114736
           Summary: ICE during SLP pass with gfortran-13 -O3
                    -mcpu=neoverse-v2
           Product: gcc
           Version: 13.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: prathamesh3492 at gcc dot gnu.org
  Target Milestone: ---

Hi,
For the following test-case:

SUBROUTINE MY_ROUTINE (N, A, B )
IMPLICIT NONE
INTEGER,   INTENT(IN)    :: N
COMPLEX,   INTENT(IN)    :: A(N)
COMPLEX,   INTENT(OUT)   :: B(N)
INTEGER                  :: II
B(:) = (1.,0.)
DO II = 1, N-1
    B(II) = A(N-II+1) / A(N-II)
ENDDO
END SUBROUTINE MY_ROUTINE

Compiling with gfortran-13 -O3 -mcpu=neoverse-v2 results in following ICE:

during GIMPLE pass: slp
dump file: t5.f90.180t.slp1
t5.f90:1:21:

    1 | SUBROUTINE MY_ROUTINE (N, A, B )
      |                     ^
internal compiler error: in create_partitions, at tree-vect-slp.cc:4226
0x12a4aef vect_optimize_slp_pass::create_partitions()
        ../../gcc/gcc/tree-vect-slp.cc:4226
0x12a617b vect_optimize_slp_pass::run()
        ../../gcc/gcc/tree-vect-slp.cc:5642
0x12a626b vect_optimize_slp(vec_info*)
        ../../gcc/gcc/tree-vect-slp.cc:5666
0x12abdef vect_optimize_slp(vec_info*)
        ../../gcc/gcc/tree-vect-slp.cc:7486
0x12abdef vect_slp_analyze_bb_1
        ../../gcc/gcc/tree-vect-slp.cc:7450
0x12abdef vect_slp_region
        ../../gcc/gcc/tree-vect-slp.cc:7538
0x12adc0b vect_slp_bbs
        ../../gcc/gcc/tree-vect-slp.cc:7746
0x12adf57 vect_slp_function(function*)
        ../../gcc/gcc/tree-vect-slp.cc:7847
0x12b949f execute
        ../../gcc/gcc/tree-vectorizer.cc:1529

Thanks,
Prathamesh

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

end of thread, other threads:[~2024-05-03 13:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-16  6:53 [Bug tree-optimization/114736] New: ICE during SLP pass with gfortran-13 -O3 -mcpu=neoverse-v2 prathamesh3492 at gcc dot gnu.org
2024-04-16  7:06 ` [Bug tree-optimization/114736] " prathamesh3492 at gcc dot gnu.org
2024-04-16  7:08 ` prathamesh3492 at gcc dot gnu.org
2024-04-16  7:11 ` pinskia at gcc dot gnu.org
2024-04-16  7:12 ` pinskia at gcc dot gnu.org
2024-04-16  7:21 ` prathamesh3492 at gcc dot gnu.org
2024-04-16  7:41 ` prathamesh3492 at gcc dot gnu.org
2024-04-16  7:58 ` rguenth at gcc dot gnu.org
2024-04-16  9:31 ` rguenth at gcc dot gnu.org
2024-04-16 10:37 ` cvs-commit at gcc dot gnu.org
2024-04-16 10:38 ` [Bug tree-optimization/114736] [13 Regression] " rguenth at gcc dot gnu.org
2024-04-16 13:09 ` prathamesh3492 at gcc dot gnu.org
2024-05-03 13:55 ` cvs-commit at gcc dot gnu.org
2024-05-03 13:56 ` rguenth 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).