[Bug ipa/123383] [16 regression] ICE when building glslang-1.4.335.0 (direct call to ... in speculative call sequence has speculative_id 256 out of range)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 4 01:02:26 GMT 2026


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
  /* Maximal number of targets.  We probably will never want to have more than
     this.  */
  const unsigned int num = 256;
...
        if (direct->speculative_id >= num)
          {
            error ("direct call to %s in speculative call sequence has "
                   "speculative_id %i out of range",
                   direct->callee->dump_name (), direct->speculative_id);
            return true;
          }


More information about the Gcc-bugs mailing list