[Bug middle-end/87798] EH lowering is creating a gimple_switch statement with type-incompatible index and case labels

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 27 19:17:32 GMT 2020


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

--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
And a C version:

int a, b, c;
void d() {
  unsigned short e;
  while (b)
    ;
  e = (e + 5) / 0;
  switch (e)
  case 0:
  case 3:
    c = a;
}


More information about the Gcc-bugs mailing list