div-by-zero-3.C
304 Bytes
-
re PR sanitizer/80348 (UBSAN: compile time crash in ubsan_instrument_division) · 98a7a34e
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
Marek Polacek committed