[Bug tree-optimization/126571] [17 Regression] ICE with incompatible types in 'PHI' argument 1

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]> Sat, 01 Aug 2026 15:35:12 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126571

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Address space testcase:
```
typedef __seg_fs  int *type1;

int
f (int c, type1 fp, int *q)
{
  int r;
  if (c)
    r = *fp;
  else
    r = *q;
  return r + 1;
}
```