public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/95327] New: [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655
@ 2020-05-26  6:29 marxin at gcc dot gnu.org
  2020-05-26  7:22 ` [Bug tree-optimization/95327] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-26  6:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95327
           Summary: [11 Regression] ICE in vect_get_constant_vectors, at
                    tree-vect-slp.c:3655
           Product: gcc
           Version: 11.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: ---
              Host: x86_64-linux-gnu
            Target: ppc64-linux-gnu

I see the following ICE:

$ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr33369.c
-mpower9-vector -O3 -c
during GIMPLE pass: vect
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr33369.c: In function
‘f’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr33369.c:12:1: internal
compiler error: in vect_get_constant_vectors, at tree-vect-slp.c:3655
   12 | f (POINT * ptBuf)
      | ^
0x152b405 vect_get_constant_vectors
        /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:3655
0x152bfbf vect_get_slp_defs(vec_info*, _slp_tree*, vec<vec<tree_node*, va_heap,
vl_ptr>, va_heap, vl_ptr>*, unsigned int)
        /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:3887
0x14c0380 vect_get_vec_defs(vec_info*, tree_node*, tree_node*, _stmt_vec_info*,
vec<tree_node*, va_heap, vl_ptr>*, vec<tree_node*, va_heap, vl_ptr>*,
_slp_tree*)
        /home/marxin/Programming/gcc2/gcc/tree-vect-stmts.c:1636
0x14d0405 vectorizable_shift
        /home/marxin/Programming/gcc2/gcc/tree-vect-stmts.c:5894
0x14e359b vect_transform_stmt(vec_info*, _stmt_vec_info*,
gimple_stmt_iterator*, _slp_tree*, _slp_instance*)
        /home/marxin/Programming/gcc2/gcc/tree-vect-stmts.c:11176
0x152d23f vect_schedule_slp_instance
        /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:4235
0x152ca59 vect_schedule_slp_instance
        /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:4127
0x152d843 vect_schedule_slp(vec_info*)
        /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:4359
0x150a989 vect_transform_loop(_loop_vec_info*, gimple*)
        /home/marxin/Programming/gcc2/gcc/tree-vect-loop.c:8753
0x153639c try_vectorize_loop_1
        /home/marxin/Programming/gcc2/gcc/tree-vectorizer.c:988
0x1536638 try_vectorize_loop
        /home/marxin/Programming/gcc2/gcc/tree-vectorizer.c:1044
0x1536812 vectorize_loops()
        /home/marxin/Programming/gcc2/gcc/tree-vectorizer.c:1125
0x13aa111 execute
        /home/marxin/Programming/gcc2/gcc/tree-ssa-loop.c:414
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/95327] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655
  2020-05-26  6:29 [Bug tree-optimization/95327] New: [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655 marxin at gcc dot gnu.org
@ 2020-05-26  7:22 ` rguenth at gcc dot gnu.org
  2020-05-26 13:59 ` cvs-commit at gcc dot gnu.org
  2020-05-26 13:59 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-26  7:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2020-05-26
   Target Milestone|---                         |11.0
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

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

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

* [Bug tree-optimization/95327] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655
  2020-05-26  6:29 [Bug tree-optimization/95327] New: [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655 marxin at gcc dot gnu.org
  2020-05-26  7:22 ` [Bug tree-optimization/95327] " rguenth at gcc dot gnu.org
@ 2020-05-26 13:59 ` cvs-commit at gcc dot gnu.org
  2020-05-26 13:59 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-26 13:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- 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:1d72079ba3a370d6751953312f0de76d1a1c555d

commit r11-634-g1d72079ba3a370d6751953312f0de76d1a1c555d
Author: Richard Biener <rguenther@suse.de>
Date:   Tue May 26 09:47:26 2020 +0200

    tree-optimization/95327 - fix another vectorizable_shift const SLP op

    This fixes another case where we fail to set the type on a SLP
    constant operand in vectorizable_shift.

    2020-05-26  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/95327
            * tree-vect-stmts.c (vectorizable_shift): Compute op1_vectype
            when we are not using a scalar shift.

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

* [Bug tree-optimization/95327] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655
  2020-05-26  6:29 [Bug tree-optimization/95327] New: [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655 marxin at gcc dot gnu.org
  2020-05-26  7:22 ` [Bug tree-optimization/95327] " rguenth at gcc dot gnu.org
  2020-05-26 13:59 ` cvs-commit at gcc dot gnu.org
@ 2020-05-26 13:59 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-26 13:59 UTC (permalink / raw)
  To: gcc-bugs

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

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:[~2020-05-26 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26  6:29 [Bug tree-optimization/95327] New: [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655 marxin at gcc dot gnu.org
2020-05-26  7:22 ` [Bug tree-optimization/95327] " rguenth at gcc dot gnu.org
2020-05-26 13:59 ` cvs-commit at gcc dot gnu.org
2020-05-26 13:59 ` 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).