[PATCH 4/4] Mark IFN_ADD/MUL_OVERFLOW as commutative

Jakub Jelinek jakub@redhat.com
Wed Nov 10 12:57:00 GMT 2021


On Wed, Nov 10, 2021 at 12:50:09PM +0000, Richard Sandiford via Gcc-patches wrote:
> gcc/
> 	* internal-fn.c (first_commutative_operand): Handle IFN_ADD_OVERFLOW
> 	and IFN_MUL_OVERFLOW.
> 
> gcc/testsuite/
> 	* gcc.dg/add-mul-overflow-1.c: New test.

Ok.

	Jakub



More information about the Gcc-patches mailing list