public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/116569] New: [15 Regression] ICE in to_constant, at poly-int.h:592
@ 2024-09-02 12:14 ktkachov at gcc dot gnu.org
  2024-09-02 12:14 ` [Bug tree-optimization/116569] " ktkachov at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2024-09-02 12:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 116569
           Summary: [15 Regression] ICE in to_constant, at poly-int.h:592
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: aarch64-sve, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64

int a;
short b, c, e;
long d, f;
long g(long h) {
  if (h)
    return h;
  return d;
}
void i(int h[][0][0][0]) {
  for (short j; j; j += 3) {
    a = g(h[1][2] ? 0 : h[1][1][1][1]);
    b = e ?: f % c;
  }
}

with -O3 -mcpu=neoverse-v2 ICEs with trunk:
0x24ef04b internal_error(char const*, ...)
        $SRC/gcc/diagnostic-global-context.cc:492
0x80ebd7 fancy_abort(char const*, int, char const*)
        $SRC/gcc/diagnostic.cc:1658
0x7fcc03 poly_int<2u, unsigned long>::to_constant() const
        $SRC/gcc/poly-int.h:592
0x1589ae7 poly_int<2u, unsigned long>::to_constant() const
        $SRC/gcc/poly-int.h:590
0x1589ae7 nunits_for_known_piecewise_op
        $SRC/gcc/tree-vect-generic.cc:96
0x1589ae7 expand_vector_piecewise
        $SRC/gcc/tree-vect-generic.cc:290
0x158c673 expand_vector_operation
        $SRC/gcc/tree-vect-generic.cc:1257
0x158d657 expand_vector_operations_1
        $SRC/gcc/tree-vect-generic.cc:2366
0x158d657 expand_vector_operations
        $SRC/gcc/tree-vect-generic.cc:2400
0x158d657 execute
        $SRC/gcc/tree-vect-generic.cc:2454

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

end of thread, other threads:[~2024-09-18 11:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-02 12:14 [Bug tree-optimization/116569] New: [15 Regression] ICE in to_constant, at poly-int.h:592 ktkachov at gcc dot gnu.org
2024-09-02 12:14 ` [Bug tree-optimization/116569] " ktkachov at gcc dot gnu.org
2024-09-02 13:03 ` acoplan at gcc dot gnu.org
2024-09-02 13:51 ` rguenth at gcc dot gnu.org
2024-09-02 21:57 ` pinskia at gcc dot gnu.org
2024-09-06  4:10 ` pinskia at gcc dot gnu.org
2024-09-06  9:23 ` jschmitz at gcc dot gnu.org
2024-09-06  9:28 ` pinskia at gcc dot gnu.org
2024-09-06  9:35 ` jschmitz at gcc dot gnu.org
2024-09-06  9:37 ` pinskia at gcc dot gnu.org
2024-09-06  9:41 ` pinskia at gcc dot gnu.org
2024-09-06  9:52 ` pinskia at gcc dot gnu.org
2024-09-06 10:12 ` ktkachov at gcc dot gnu.org
2024-09-06 11:22 ` rguenth at gcc dot gnu.org
2024-09-06 11:23 ` rguenth at gcc dot gnu.org
2024-09-18 11:07 ` cvs-commit at gcc dot gnu.org
2024-09-18 11:09 ` jschmitz 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).