public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/98037] New: ICE in dse.c:find_shift_sequence for large non-integer modes
@ 2020-11-27 16:41 rsandifo at gcc dot gnu.org
  2020-11-27 16:41 ` [Bug rtl-optimization/98037] " rsandifo at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2020-11-27 16:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98037
           Summary: ICE in dse.c:find_shift_sequence for large non-integer
                    modes
           Product: gcc
           Version: 10.2.1
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rsandifo at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64*-*-*

Compiling the following test on AArch64 with -march=armv8.2-a+sve
-msve-vector-bits=512:

-----------------------------------------------------------------
typedef __SVInt8_t vec __attribute__((arm_sve_vector_bits(512)));
struct pair { vec v[2]; };
void use(pair &);
vec f(pair p) { vec v = p.v[1]; use(p); return v; }
-----------------------------------------------------------------

triggers:

foo.c:4:51: internal compiler error: in smallest_mode_for_size, at
stor-layout.c:356
    4 | vec f(pair p) { vec v = p.v[1]; use(p); return v; }
      |                                                   ^
... smallest_mode_for_size(poly_int<2u, unsigned long>, mode_class)
        .../gcc/stor-layout.c:356
... smallest_int_mode_for_size(poly_int<2u, unsigned long>)
        .../gcc/machmode.h:879
... find_shift_sequence
        .../gcc/dse.c:1731

because there is no integer mode big enough to represent the
access size.

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

end of thread, other threads:[~2020-12-02 18:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27 16:41 [Bug rtl-optimization/98037] New: ICE in dse.c:find_shift_sequence for large non-integer modes rsandifo at gcc dot gnu.org
2020-11-27 16:41 ` [Bug rtl-optimization/98037] " rsandifo at gcc dot gnu.org
2020-11-30 17:16 ` cvs-commit at gcc dot gnu.org
2020-12-02 16:21 ` cvs-commit at gcc dot gnu.org
2020-12-02 18:41 ` rsandifo 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).