re PR sanitizer/80348 (UBSAN: compile time crash in ubsan_instrument_division)
PR sanitizer/80348 * typeck.c (cp_build_binary_op): Use NULL_TREE instead of NULL. Set ORIG_TYPE earlier and not only when shortening. * g++.dg/ubsan/div-by-zero-3.C: New test. From-SVN: r246812
Showing
gcc/testsuite/g++.dg/ubsan/div-by-zero-3.C
0 → 100644
Please
register
or
sign in
to comment