[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

babokin at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 25 18:55:00 GMT 2017


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

--- Comment #12 from Dmitry Babokin <babokin at gmail dot com> ---
int var;
long a;
long foo() {
  int i = !(1 & 808U ^ 1 & var) >> 0;
  long l = 0 % ((a & 1) != (3053241240409UL & 1));
  return i+l;
}


More information about the Gcc-bugs mailing list