https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350
Bug ID: 121350 Summary: [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhruvc at nvidia dot com Target Milestone: --- Previously, vect_mem_access_type would check if node was NULL or not. The updated code with the revision does not. Min repro: === typedef struct { int a; short b } c; c *d; int e; void f(c *g) { g->a = g->b; } void h() { c i; f(&i); for (; e; --e) *d++ = i; } === Flags: -O3 -mcpu=neoverse-v2 -msve-vector-bits=128