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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is we can't use `(match min_value` here but rather we need to
change it from:
```
(for eqne (eq ne)
 (simplify
  (bit_and:c (gt:c@2 @0 @1) (eqne @0 min_value))
```
to:
```
(for eqne (eq ne)
 (simplify
  (bit_and:c (gt:c@2 @0 @1) (eqne @3 uniform_integer_cst_p@2))
 (if (bitwise_equal_p (@0, @3)
      && min_value_p (TREE_TYPE (@0), uniform_integer_cst_p (@2))
```

Etc.

We could have min_value_p use uniform_integer_cst_p inside it instead of doing
it before hand.

Reply via email to