public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/98914] New: [11 Regression] ICE in rs6000_expand_vector_set, at config/rs6000/rs6000.c:7198
@ 2021-02-01 11:31 asolokha at gmx dot com
  2021-02-02  8:12 ` [Bug target/98914] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: asolokha at gmx dot com @ 2021-02-01 11:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98914
           Summary: [11 Regression] ICE in rs6000_expand_vector_set, at
                    config/rs6000/rs6000.c:7198
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: powerpc-*-linux-gnu

gcc-11.0.0-alpha20210131 snapshot (g:98342bdd2b7085c9e7e4c9fbb07c3917a0013515)
ICEs when compiling the following testcase, reduced from
gcc/testsuite/gcc.target/powerpc/pr79251-run.p8.c, w/ -mvsx -Og:

void
foo (int __attribute__ ((altivec (vector__))) v)
{
  for (int k = 0; k < 1; ++k)
    v[k] = 0;
}

% powerpc-e300c3-linux-gnu-gcc-11.0.0 -mvsx -Og -c yo6irbnt.c
during RTL pass: expand
yo6irbnt.c: In function 'foo':
yo6irbnt.c:5:10: internal compiler error: in rs6000_expand_vector_set, at
config/rs6000/rs6000.c:7198
    5 |     v[k] = 0;
      |     ~~~~~^~~
0x731be0 rs6000_expand_vector_set(rtx_def*, rtx_def*, rtx_def*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/config/rs6000/rs6000.c:7198
0x157be60 ???
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/config/rs6000/vector.md:1251
0xceb038 maybe_expand_insn(insn_code, unsigned int, expand_operand*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/optabs.c:7820
0xb83bfd expand_vec_set_optab_fn
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/internal-fn.c:2871
0xb83bfd expand_VEC_SET
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/internal-fn.def:148
0x954357 expand_call_stmt
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/cfgexpand.c:2748
0x954357 expand_gimple_stmt_1
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/cfgexpand.c:3843
0x954357 expand_gimple_stmt
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/cfgexpand.c:4007
0x95a01a expand_gimple_basic_block
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/cfgexpand.c:6044
0x95bb5f execute
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210131/work/gcc-11-20210131/gcc/cfgexpand.c:6728

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

end of thread, other threads:[~2021-03-22  2:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01 11:31 [Bug target/98914] New: [11 Regression] ICE in rs6000_expand_vector_set, at config/rs6000/rs6000.c:7198 asolokha at gmx dot com
2021-02-02  8:12 ` [Bug target/98914] " rguenth at gcc dot gnu.org
2021-02-03  3:59 ` luoxhu at gcc dot gnu.org
2021-02-03  8:11 ` rguenth at gcc dot gnu.org
2021-02-03  8:15 ` jakub at gcc dot gnu.org
2021-02-04  0:38 ` luoxhu at gcc dot gnu.org
2021-03-22  2:15 ` cvs-commit at gcc dot gnu.org
2021-03-22  2:16 ` luoxhu 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).