PR sanitizer/60613
	* internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
	code == MINUS_EXPR, never swap op0 with op1.

	* c-c++-common/ubsan/pr60613-1.c: New test.
	* c-c++-common/ubsan/pr60613-2.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208766 138bc75d-0d04-0410-961f-82ee72b054a4