[Bug tree-optimization/105736] [12/13 Regression] ICE in force_gimple_operand_1, at gimplify-me.cc:79 since r13-222-g28896b38fabce818

siddhesh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 14 07:42:48 GMT 2022


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

--- Comment #3 from Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> ---
Here we go, I'll put it into builtin-dynamic-object-size-0.c, bootstrap and
post a patch.

struct TV4
{
  __attribute__((vector_size (sizeof (int) * 4))) int v;
};

struct TV4 val3;
int *
f1 (struct TV4 *a)
{
  return &a->v[0];
}

int
f2 (void)
{
  int *t = f1 (&val3);
  if (__builtin_dynamic_object_size (t, 0) != -1)
    __builtin_abort ();

  return 0;
}


More information about the Gcc-bugs mailing list