[Bug middle-end/107976] ICE: SIGSEGV (stack overflow) in emit_case_dispatch_table (stmt.cc:783) with large --param=jump-table-max-growth-ratio-for-speed

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 5 19:11:15 GMT 2022


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
  ncases = tree_to_shwi (range) + 1;
  labelvec = XALLOCAVEC (rtx, ncases);
  memset (labelvec, 0, ncases * sizeof (rtx));


I think this is a won't fix.
Doctor, it hurts when I bend my arm this way.
Don't bend it that way then.


More information about the Gcc-bugs mailing list