public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/97486] [11 Regression] ICE in vect_create_constant_vectors, at tree-vect-slp.c:4513 since r11-4005-g6c6e0cafa38cee83 Date: Mon, 19 Oct 2020 09:25:56 +0000 [thread overview] Message-ID: <bug-97486-4-giAS1CUewR@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-97486-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97486 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- OK, so we insert on the edge 4->5 <bb 4> [local count: 290235635]: info_ptr_14(ab) = 0; _16 = png_set_longjmp_fn (); <bb 5> [local count: 290197324]: # info_ptr_1(ab) = PHI <info_ptr_14(ab)(4)> png_load_body_c.end_info = _16; png_load_body_c.fp = fp_9(D); png_set_longjmp_fn (); where gimple_find_edge_insert_loc has /* If the destination has one predecessor which has no PHI nodes, insert there. Except for the exit block. The requirement for no PHI nodes could be relaxed. Basically we would have to examine the PHIs to prove that none of them used the value set by the statement we want to insert on E. That hardly seems worth the effort. */ restart: if (single_pred_p (dest) && gimple_seq_empty_p (phi_nodes (dest)) && dest != EXIT_BLOCK_PTR_FOR_FN (cfun)) { so the single-arg PHI confuses us here. So we now either have to restrict the BB region or convince ourselves that splitting the edge is OK at the above point (I think it is) ... I'm tending to keep regions small for now.
next prev parent reply other threads:[~2020-10-19 9:25 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-19 9:01 [Bug tree-optimization/97486] New: " 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 [this message] 2020-10-19 11:23 ` cvs-commit at gcc dot gnu.org 2020-10-19 11:23 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-97486-4-giAS1CUewR@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).