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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This patch:
```
[apinski@xeond2 gcc]$ git diff cgraph.cc
diff --git a/gcc/cgraph.cc b/gcc/cgraph.cc
index 9bca1ac0491..fe9349e743f 100644
--- a/gcc/cgraph.cc
+++ b/gcc/cgraph.cc
@@ -1287,6 +1287,7 @@ cgraph_edge::get_next_speculative_id ()
        }
     }

+  gcc_assert (max_id <= 256);
   return max_id + 1;
 }


```

Might make it faster to figure out a testcase.

Reply via email to