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

--- Comment #4 from Martin Uecker <muecker at gwdg dot de> ---

The specific problem is triggered by the change to pointer_int_sum in
gcc/c-family/c-common.cc, but the underlying problem is older. The following
example fails since gcc 7:

void f(int n, int (*a(void))[n])
{
    sizeof (*a());
}

int (*a(void))[1];

void g(void)
{
    f(1, a);
}


https://godbolt.org/z/645ahfrzx

Reply via email to