public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97486] New: [11 Regression] ICE in vect_create_constant_vectors, at tree-vect-slp.c:4513 since r11-4005-g6c6e0cafa38cee83
@ 2020-10-19  9:01 marxin at gcc dot gnu.org
  2020-10-19  9:02 ` [Bug tree-optimization/97486] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-10-19  9:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97486
           Summary: [11 Regression] ICE in vect_create_constant_vectors,
                    at tree-vect-slp.c:4513 since
                    r11-4005-g6c6e0cafa38cee83
           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: ---

It's reduced from emacs:

$ cat emacs.i
struct {
  int *end_info;
  int *fp;
} png_load_body_c;

int *png_set_longjmp_fn();

void setjmp();

void png_load_body() {
  int *fp;
  int png_ptr, info_ptr, *end_info;
  if (!fp)
    return;
  if (png_ptr) {
    info_ptr = 0;
    end_info = png_set_longjmp_fn();
  }
  png_load_body_c.end_info = end_info;
  png_load_body_c.fp = fp;
  if (png_ptr)
    png_set_longjmp_fn();
  setjmp(info_ptr);
}

$ gcc emacs.i -c -O3
during GIMPLE pass: slp
emacs.i: In function ‘png_load_body’:
emacs.i:10:6: internal compiler error: in vect_create_constant_vectors, at
tree-vect-slp.c:4513
   10 | void png_load_body() {
      |      ^~~~~~~~~~~~~
0x736046 vect_create_constant_vectors
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4513
0x736046 vect_schedule_slp_instance
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:5032
0x1045d47 vect_schedule_slp_instance
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:5041
0x1047a92 vect_schedule_slp(vec_info*, vec<_slp_instance*, va_heap, vl_ptr>)
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:5299
0x104905d vect_slp_region
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4046
0x104905d vect_slp_bbs
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4164
0x1049afc vect_slp_function(function*)
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4215
0x104b76d execute
        /home/marxin/Programming/gcc/gcc/tree-vectorizer.c:1430
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] 5+ messages in thread

end of thread, other threads:[~2020-10-19 11:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19  9:01 [Bug tree-optimization/97486] New: [11 Regression] ICE in vect_create_constant_vectors, at tree-vect-slp.c:4513 since r11-4005-g6c6e0cafa38cee83 marxin at gcc dot gnu.org
2020-10-19  9:02 ` [Bug tree-optimization/97486] " marxin at gcc dot gnu.org
2020-10-19  9:25 ` rguenth at gcc dot gnu.org
2020-10-19 11:23 ` cvs-commit at gcc dot gnu.org
2020-10-19 11:23 ` 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).