internal-fn.c
26.5 KB
-
re PR sanitizer/60613 (Invalid signed subtraction ubsan diagnostics) · f451d3a8
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. From-SVN: r208766
Jakub Jelinek committed