[PATCH] Add a missing return transforming atomic bit test and operations

Jeff Law jeffreyalaw@gmail.com
Tue Nov 16 03:20:17 GMT 2021



On 11/15/2021 8:18 PM, H.J. Lu via Gcc-patches wrote:
> When failing to transform equivalent, but slighly different cases of
> atomic bit test and operations to their canonical forms, return
> immediately.
>
> gcc/
>
> 	PR middle-end/103268
> 	* tree-ssa-ccp.c (optimize_atomic_bit_test_and): Add a missing
> 	return.
>
> gcc/testsuite/
>
> 	PR middle-end/103268
> 	* gcc.dg/pr103268-1.c: New test.
> 	* gcc.dg/pr103268-2.c: Likewise.
OK
jeff



More information about the Gcc-patches mailing list