public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97496] New: ice during during GIMPLE pass: cddce
@ 2020-10-19 16:09 dcb314 at hotmail dot com
  2020-10-19 16:15 ` [Bug tree-optimization/97496] [11 Regression] during during GIMPLE pass: cddce since r11-4005-g6c6e0cafa38cee83 marxin at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2020-10-19 16:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97496
           Summary: ice during during GIMPLE pass: cddce
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For this C code:

int a;
int b[];
void c(unsigned g) {
  if (a) {
    long e = g, d = e;
    int f = 0;
    for (; f < 4; f++) {
      b[f] = d;
      d >>= 8;
    }
  }
}

with compiler flag -O3, does this:

during GIMPLE pass: cddce
bug657.c: In function ‘c’:
bug657.c:3:6: internal compiler error: in mark_operand_necessary, at
tree-ssa-dce.c:173
    3 | void c(unsigned g) {
      |      ^
0x5e63bd mark_operand_necessary
        ../../trunk.git/gcc/tree-ssa-dce.c:173
0x5e63bd propagate_necessity
        ../../trunk.git/gcc/tree-ssa-dce.c:775

The problem first seems to occur sometime between 20201016 and 20201017.

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

* [Bug tree-optimization/97496] [11 Regression] during during GIMPLE pass: cddce since r11-4005-g6c6e0cafa38cee83
  2020-10-19 16:09 [Bug c/97496] New: ice during during GIMPLE pass: cddce dcb314 at hotmail dot com
@ 2020-10-19 16:15 ` marxin at gcc dot gnu.org
  2020-10-19 16:15 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-10-19 16:15 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-10-19
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
           Priority|P3                          |P1
      Known to fail|                            |11.0
   Target Milestone|---                         |11.0
           Keywords|                            |ice-on-valid-code
          Component|c                           |tree-optimization
      Known to work|                            |10.2.0
            Summary|ice during during GIMPLE    |[11 Regression] during
                   |pass: cddce                 |during GIMPLE pass: cddce
                   |                            |since
                   |                            |r11-4005-g6c6e0cafa38cee83

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with Richi's r11-4005-g6c6e0cafa38cee83.

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

* [Bug tree-optimization/97496] [11 Regression] during during GIMPLE pass: cddce since r11-4005-g6c6e0cafa38cee83
  2020-10-19 16:09 [Bug c/97496] New: ice during during GIMPLE pass: cddce dcb314 at hotmail dot com
  2020-10-19 16:15 ` [Bug tree-optimization/97496] [11 Regression] during during GIMPLE pass: cddce since r11-4005-g6c6e0cafa38cee83 marxin at gcc dot gnu.org
@ 2020-10-19 16:15 ` marxin at gcc dot gnu.org
  2020-10-20  6:00 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-10-19 16:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
for SSA_NAME: vect__16.4_34 in statement:
# .MEM_29 = VDEF <.MEM_7(D)>
MEM <vector(4) int> [(int *)&b] = vect__16.4_34;
during GIMPLE pass: slp
dump file: pr97496.c.169t.slp1
pr97496.c:3:6: internal compiler error: verify_ssa failed
vi 0xfcb522 verify_ssa(bool, bool)
        /home/marxin/Programming/gcc/gcc/tree-ssa.c:1208
0xcda455 execute_function_todo
        /home/marxin/Programming/gcc/gcc/passes.c:1999
0xcdb19c do_per_function
        /home/marxin/Programming/gcc/gcc/passes.c:1640
0xcdb19c execute_todo
        /home/marxin/Programming/gcc/gcc/passes.c:2046
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] 6+ messages in thread

* [Bug tree-optimization/97496] [11 Regression] during during GIMPLE pass: cddce since r11-4005-g6c6e0cafa38cee83
  2020-10-19 16:09 [Bug c/97496] New: ice during during GIMPLE pass: cddce dcb314 at hotmail dot com
  2020-10-19 16:15 ` [Bug tree-optimization/97496] [11 Regression] during during GIMPLE pass: cddce since r11-4005-g6c6e0cafa38cee83 marxin at gcc dot gnu.org
  2020-10-19 16:15 ` marxin at gcc dot gnu.org
@ 2020-10-20  6:00 ` rguenth at gcc dot gnu.org
  2020-10-20  7:03 ` cvs-commit at gcc dot gnu.org
  2020-10-20  7:03 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-20  6:00 UTC (permalink / raw)
  To: gcc-bugs

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

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 #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.

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

* [Bug tree-optimization/97496] [11 Regression] during during GIMPLE pass: cddce since r11-4005-g6c6e0cafa38cee83
  2020-10-19 16:09 [Bug c/97496] New: ice during during GIMPLE pass: cddce dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2020-10-20  6:00 ` rguenth at gcc dot gnu.org
@ 2020-10-20  7:03 ` cvs-commit at gcc dot gnu.org
  2020-10-20  7:03 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-10-20  7:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 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:a335f6f4ee5cb4f7dbfef52e17bf854ae42c1216

commit r11-4084-ga335f6f4ee5cb4f7dbfef52e17bf854ae42c1216
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Oct 20 08:14:54 2020 +0200

    tree-optimization/97496 - avoid SLP externs in patterns

    I forgot to guard the promotion to external for the case where the
    def is in a pattern.

    2020-10-20  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/97496
            * tree-vect-slp.c (vect_get_and_check_slp_defs): Guard extern
            promotion with not in pattern.

            * gcc.dg/vect/bb-slp-pr97496.c: New testcase.

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

* [Bug tree-optimization/97496] [11 Regression] during during GIMPLE pass: cddce since r11-4005-g6c6e0cafa38cee83
  2020-10-19 16:09 [Bug c/97496] New: ice during during GIMPLE pass: cddce dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2020-10-20  7:03 ` cvs-commit at gcc dot gnu.org
@ 2020-10-20  7:03 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-20  7:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

end of thread, other threads:[~2020-10-20  7:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 16:09 [Bug c/97496] New: ice during during GIMPLE pass: cddce dcb314 at hotmail dot com
2020-10-19 16:15 ` [Bug tree-optimization/97496] [11 Regression] during during GIMPLE pass: cddce since r11-4005-g6c6e0cafa38cee83 marxin at gcc dot gnu.org
2020-10-19 16:15 ` marxin at gcc dot gnu.org
2020-10-20  6:00 ` rguenth at gcc dot gnu.org
2020-10-20  7:03 ` cvs-commit at gcc dot gnu.org
2020-10-20  7:03 ` 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).