On Sun, Jul 5, 2026 at 11:32 AM Kael Andrew Franco
<[email protected]> wrote:
>
> From 627bd6f7e8d580c42c0d15fd2d48c37c32aa60ae Mon Sep 17 00:00:00 2001
> From: Kael Andrew Alonzo Franco <[email protected]>
> Date: Sat, 4 Jul 2026 22:02:25 -0400
> Subject: [PATCH] match: Fix #ifdef GIMPLE typo [PR125641]
>
> r17-1683-g43356828d897ad uses #ifdef GIMPLE but it should be #if GIMPLE.
>
> Bootstrapped and tested on x86_64-pc-linux-gnu.

OK.

> PR tree-optimization/125641
>
> gcc/ChangeLog:
>
> * match.pd: Fix #ifdef GIMPLE typo.
>
> Signed-off-by: Kael Franco <[email protected]>
> ---
>  gcc/match.pd | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/match.pd b/gcc/match.pd
> index 7da15cc4cdc..a7cec25dbad 100644
> --- a/gcc/match.pd
> +++ b/gcc/match.pd
> @@ -5171,7 +5171,7 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)
>     Fold x & (x >> (TYPE_PRECISION (type) - 1)) to min (x, 0)
>     Fold x & (~ (x >> (TYPE_PRECISION (type) - 1))) to max (x, 0)
>  */
> -#ifdef GIMPLE
> +#if GIMPLE
>  (for bitop (bit_ior bit_and)
>       result (max min)
>       rresult (min max)
> --
> 2.55.0
>
>

Reply via email to