Re: [PATCH] match: Combine two for into one for.

Jeffrey Law <[email protected]> Mon, 3 Aug 2026 21:32:01 -0600
Newsgroups gmane.comp.gcc.patches
Message-ID <[email protected]>

On 7/27/2026 10:49 AM, Kael Andrew Franco wrote:
>  From 3480be32c5827d1d881374af406dd514dc25019f Mon Sep 17 00:00:00 2001
> From: Kael Andrew Alonzo Franco <[email protected]>
> Date: Sun, 26 Jul 2026 22:13:37 -0400
> Subject: [PATCH] match: Combine two for into one for.
>
> This simplifies r5-4683, r5-4899, and r6-2617.
>
> Bootstrapped and regtested on x86_64-pc-linux-gnu.
>
> gcc/ChangeLog:
>
> 	* match.pd: Combine two for into one for.
>
> Signed-off-by: Kael Andrew Franco <[email protected]>
Just one nit noted below.  OK for the trunk with the nit fixed.


> +/* X | !X and X ^ !X -> 1, , if X is truth-valued.
Note the double comma in the comment above.  Just one is needed.

No need for further review, just fix the nit and commit.

Thanks
jeff