diff options
author | Marek Polacek <polacek@redhat.com> | 2017-04-07 17:51:55 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-04-07 17:51:55 +0000 |
commit | 1ef532f452a10223cf9cd8f6955f066149d78498 (patch) | |
tree | c3056a470e965614fe4e03e803e87f816e4211a5 /gcc/lra-constraints.c | |
parent | 29d8aae6bdb1fba656e0c4f768743015c96bc238 (diff) | |
download | gcc-1ef532f452a10223cf9cd8f6955f066149d78498.zip gcc-1ef532f452a10223cf9cd8f6955f066149d78498.tar.gz gcc-1ef532f452a10223cf9cd8f6955f066149d78498.tar.bz2 |
re PR sanitizer/80348 (UBSAN: compile time crash in ubsan_instrument_division)
PR sanitizer/80348
* typeck.c (cp_build_binary_op): Convert COP[01] to ORIG_TYPE.
* g++.dg/ubsan/div-by-zero-2.C: New test.
From-SVN: r246770
Diffstat (limited to 'gcc/lra-constraints.c')
0 files changed, 0 insertions, 0 deletions