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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is a better testcase:
```
void find_slot_with_hash(const int &,int, int);
void put(const int &k, const int &v) {
    find_slot_with_hash(k, 0, 1);
    __builtin_unreachable();
}
unsigned len();
int *address();
void h(int header, int **bounds) {
  if (!*bounds)
    return;
  unsigned t = *bounds ? len() : 0;
  int queue_index = t;
  address()[(unsigned)queue_index] = 0;
  put(header, queue_index);
}
```

Reply via email to