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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|pinskia at gcc dot gnu.org         |unassigned at gcc dot 
gnu.org

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
No luck; still don't understand IRA here. Note I did a quick hack to
split_edge_bb_loc to insert the split edge bb at before the successor so it
matches similar to change the testcase to be:
```
int*
find_ptr (int* mem, int sz, int val)
{
  int *r = 0;

#pragma GCC novector
  for (int i = 0; i < sz; i++)
    if (mem[i] == val)
      return &mem[i];
  asm("":"+r"(r));
  return r;
}
```

I will submit my count patch though.

Reply via email to