[Bug tree-optimization/126487] Another missing smin/smax detection

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126487

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Another missing smin        |Another missing smin/smax
                   |detection                   |detection

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
The max case is:
```
unsigned
smax_n1 (unsigned int a)
{
  unsigned t = a;
  unsigned t1 = -1u;
  unsigned tt = __INT_MAX__;
  return a <= tt ? t : -1u;
}
```
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.