c-ubsan.c (ubsan_instrument_division): Remove unnecessary code.
authorMarek Polacek <polacek@redhat.com>
Fri, 25 Sep 2015 11:19:11 +0000 (11:19 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 25 Sep 2015 11:19:11 +0000 (11:19 +0000)
commit974348eec712f2e48e683c6e577011ac49241e0f
tree6379955efb32fbe80ad10202d9860a24ae8cfb3e
parent15dbc1a6df73343e769a8e310c1ed89829b61613
c-ubsan.c (ubsan_instrument_division): Remove unnecessary code.

* c-ubsan.c (ubsan_instrument_division): Remove unnecessary code.
(ubsan_instrument_shift): Likewise.

* c-c++-common/ubsan/bounds-11.c: New test.
* c-c++-common/ubsan/bounds-12.c: New test.

From-SVN: r228114
gcc/c-family/ChangeLog
gcc/c-family/c-ubsan.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/bounds-11.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/ubsan/bounds-12.c [new file with mode: 0644]