public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/95713] New: [10/11 Regression] ICE in emit_move_insn when converting int2 vector to short2 vector for -march=skylake-avx512 -m32
@ 2020-06-16 20:12 kretz at kde dot org
  2020-06-17  6:23 ` [Bug target/95713] [10/11 Regression] ICE in emit_move_insn when converting int2 vector to short2 vector for -march=skylake-avx512 since r10-5031-g78307657cf9675bc marxin at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: kretz at kde dot org @ 2020-06-16 20:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95713
           Summary: [10/11 Regression] ICE in emit_move_insn when
                    converting int2 vector to short2 vector for
                    -march=skylake-avx512 -m32
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kretz at kde dot org
  Target Milestone: ---
            Target: i?86-*-*

Compile the following testcase with `-O1 -march=skylake-avx512 -m32` (cf.
https://godbolt.org/z/FASxSm):

using int2 [[gnu::vector_size(8)]] = int;
using short2 [[gnu::vector_size(4)]] = short;

void f(short2);
void g(int2 a)
{
  short2 b{short(a[0]), short(a[1])};
  f(4 > b);
}


Resulting Output:

during RTL pass: expand
<source>: In function 'void g(int2)':
<source>:7:38: internal compiler error: in emit_move_insn, at expr.c:3815
    7 |     short2 b{short(a[0]), short(a[1])};
      |                                      ^

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

end of thread, other threads:[~2020-06-29  9:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 20:12 [Bug rtl-optimization/95713] New: [10/11 Regression] ICE in emit_move_insn when converting int2 vector to short2 vector for -march=skylake-avx512 -m32 kretz at kde dot org
2020-06-17  6:23 ` [Bug target/95713] [10/11 Regression] ICE in emit_move_insn when converting int2 vector to short2 vector for -march=skylake-avx512 since r10-5031-g78307657cf9675bc marxin at gcc dot gnu.org
2020-06-17  6:54 ` rguenth at gcc dot gnu.org
2020-06-17  6:59 ` rguenth at gcc dot gnu.org
2020-06-17  8:46 ` jakub at gcc dot gnu.org
2020-06-17  9:53 ` jakub at gcc dot gnu.org
2020-06-18  8:25 ` kretz at kde dot org
2020-06-18 10:13 ` cvs-commit at gcc dot gnu.org
2020-06-18 10:18 ` cvs-commit at gcc dot gnu.org
2020-06-29  9:56 ` jakub 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).