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

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Hmm, I was using:

struct A {
  char c;
};

int main() {
  char A::*p = &A::c;
  static char A::*const q = p;
  A a;
  if (&(a.*q) - &a.c)
    __builtin_abort();
}

and this triggers with gcc-5.

Reply via email to