public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/101026] New: [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d
@ 2021-06-11  8:20 marxin at gcc dot gnu.org
  2021-06-11 10:13 ` [Bug tree-optimization/101026] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-06-11  8:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101026
           Summary: [12 Regression] ICE Segmentation fault since
                    r12-1329-gce670e4faafb296d
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

The following fails:

$ cat ice.f
      SUBROUTINE PASSB4 (CC,CH)
      DIMENSION CC(IDO,4,L1), CH(IDO,L1,*)
         DO 103 I=2,IDO,2
            TI4 = CC0-CC(I,4,K)
            CI4 = TI1-TI4
            CH(I-1,K,4) = CI4
            CH(I,K,4) = CI4
  103    CONTINUE
      END

$ gcc ice.f -Ofast -c -frounding-math 
during GIMPLE pass: vect
ice.f:1:23:

    1 |       SUBROUTINE PASSB4 (CC,CH)
      |                       ^
internal compiler error: Segmentation fault
0xf15eda crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:327
0x7ffff786239f ???
        ../sysdeps/unix/sysv/linux/sigaction.c:10
0x11d40e2 vect_optimize_slp(vec_info*)
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:3626
0x11b4f3e vect_analyze_loop_2
        /home/marxin/Programming/gcc/gcc/tree-vect-loop.c:2332
0x11b51fa vect_analyze_loop(loop*, vec_info_shared*)
        /home/marxin/Programming/gcc/gcc/tree-vect-loop.c:2986
0x11e6615 try_vectorize_loop_1
        /home/marxin/Programming/gcc/gcc/tree-vectorizer.c:1009
0x11e704e vectorize_loops()
        /home/marxin/Programming/gcc/gcc/tree-vectorizer.c:1243
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.

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

* [Bug tree-optimization/101026] [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d
  2021-06-11  8:20 [Bug tree-optimization/101026] New: [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d marxin at gcc dot gnu.org
@ 2021-06-11 10:13 ` rguenth at gcc dot gnu.org
  2021-06-11 11:35 ` cvs-commit at gcc dot gnu.org
  2021-06-11 12:35 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-11 10:13 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-06-11
   Target Milestone|---                         |12.0
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.

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

* [Bug tree-optimization/101026] [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d
  2021-06-11  8:20 [Bug tree-optimization/101026] New: [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d marxin at gcc dot gnu.org
  2021-06-11 10:13 ` [Bug tree-optimization/101026] " rguenth at gcc dot gnu.org
@ 2021-06-11 11:35 ` cvs-commit at gcc dot gnu.org
  2021-06-11 12:35 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-11 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:fbd8a8041292f2ec2c22be43c8d3e74b37b2bc88

commit r12-1387-gfbd8a8041292f2ec2c22be43c8d3e74b37b2bc88
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Jun 11 13:33:17 2021 +0200

    tree-optimization/101026 - fix SLP re-association

    Since we cannot yet encode the operation in the SLP node itself
    but need a representative stmt require an existing one for now
    to avoid the need to build a fake GIMPLE stmt.

    2021-06-11  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/101026
            * tree-vect-slp.c (vect_build_slp_tree_2): Make sure we
            have a representative for the associated chain nodes.

            * gfortran.dg/pr101026.f: New testcase.

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

* [Bug tree-optimization/101026] [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d
  2021-06-11  8:20 [Bug tree-optimization/101026] New: [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d marxin at gcc dot gnu.org
  2021-06-11 10:13 ` [Bug tree-optimization/101026] " rguenth at gcc dot gnu.org
  2021-06-11 11:35 ` cvs-commit at gcc dot gnu.org
@ 2021-06-11 12:35 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-11 12:35 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2021-06-11 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-11  8:20 [Bug tree-optimization/101026] New: [12 Regression] ICE Segmentation fault since r12-1329-gce670e4faafb296d marxin at gcc dot gnu.org
2021-06-11 10:13 ` [Bug tree-optimization/101026] " rguenth at gcc dot gnu.org
2021-06-11 11:35 ` cvs-commit at gcc dot gnu.org
2021-06-11 12:35 ` 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).