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

--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is a testcase without avx-512f usage:
struct f{signed t:1;};
int g(struct f *a, int t) __attribute__((noipa));
int g(struct f *a, int t)
{
    if (t)
      a->t = -1;
    else
      a->t = 0;
    int t1 = a->t;
    if (t1) return 1;
    return t1;
}

int main(void)
{
    struct f a;
    if (!g(&a, 1))  __builtin_abort();
    return 0;
}

Reply via email to