public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97835] New: [11 Regression] ICE: verify_gimple failed (error: incorrect type of vector CONSTRUCTOR elements)
@ 2020-11-15  8:03 asolokha at gmx dot com
  2020-11-16  7:23 ` [Bug tree-optimization/97835] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: asolokha at gmx dot com @ 2020-11-15  8:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97835
           Summary: [11 Regression] ICE: verify_gimple failed (error:
                    incorrect type of vector CONSTRUCTOR elements)
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-11.0.0-alpha20201108 snapshot (g:b642fca1c31b2e2175e0860daf32b4ee0d918085)
ICEs when compiling the following testcase w/ -O3:

struct co {
  int gx;
  int ty;
};

void
x0 (struct co *yy, long int kc, int wi, int md)
{
  while (wi < 1)
    {
      yy[wi].gx = md;
      yy[wi].ty = wi;
      md += kc;
      ++wi;
    }
}

% gcc-11.0.0 -O3 -c wqrlepsw.c
wqrlepsw.c: In function 'x0':
wqrlepsw.c:7:1: error: incorrect type of vector CONSTRUCTOR elements
    7 | x0 (struct co *yy, long int kc, int wi, int md)
      | ^~
{_28, 1, _28, 1}

_52 = {_28, 1, _28, 1};
during GIMPLE pass: vect
wqrlepsw.c:7:1: internal compiler error: verify_gimple failed
0xe13ee2 verify_gimple_in_cfg(function*, bool)
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/tree-cfg.c:5461
0xcea557 execute_function_todo
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/passes.c:2039
0xceafbe execute_todo
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/passes.c:2093

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

end of thread, other threads:[~2020-11-16  9:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-15  8:03 [Bug tree-optimization/97835] New: [11 Regression] ICE: verify_gimple failed (error: incorrect type of vector CONSTRUCTOR elements) asolokha at gmx dot com
2020-11-16  7:23 ` [Bug tree-optimization/97835] " rguenth at gcc dot gnu.org
2020-11-16  7:30 ` marxin at gcc dot gnu.org
2020-11-16  9:27 ` cvs-commit at gcc dot gnu.org
2020-11-16  9:27 ` 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).