ensure that EXPR1 is not divisible by EXPR2, fix #58979
Merge pull request #59521 from mauk81/patch-4

ensure that EXPR1 is not divisible by EXPR2, fix #58979