[PATCH 3/4] Mark IFN_UBSAN_CHECK_ADD/MUL as commutative

Jakub Jelinek jakub@redhat.com
Wed Nov 10 12:56:23 GMT 2021


On Wed, Nov 10, 2021 at 12:49:36PM +0000, Richard Sandiford via Gcc-patches wrote:
> 	* internal-fn.c (commutative_binary_fn_p): Handle IFN_UBSAN_CHECK_ADD
> 	and IFN_UBSAN_CHECK_MUL.
> 
> gcc/testsuite/
> 	* gcc.dg/ubsan/commutative-1.c: New test.

Ok.

	Jakub



More information about the Gcc-patches mailing list