diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-11-28 09:49:08 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-11-28 09:49:08 +0100 |
commit | ace83db06c03b138c8b4cf87bf3db61f2d842e60 (patch) | |
tree | e4a15dbcfd4276091ffc6f69327bebcb0dc72031 /gcc/c-family/ChangeLog | |
parent | fc60283c5c7987a120cdadd24024a0319bfe0360 (diff) | |
download | gcc-ace83db06c03b138c8b4cf87bf3db61f2d842e60.tar.gz |
re PR sanitizer/88215 (UBSAN: Internal compiler error with attribute(unused))
PR c++/88215
* c-ubsan.c: Include langhooks.h.
(ubsan_instrument_division): Change gcc_assert that main variants
of op0 and op1 types are equal to gcc_checking_assert that the
main variants are compatible types.
* c-c++-common/ubsan/pr88215.c: New test.
From-SVN: r266546
Diffstat (limited to 'gcc/c-family/ChangeLog')
-rw-r--r-- | gcc/c-family/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index d99396719fb..bc85a93447b 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,11 @@ +2018-11-28 Jakub Jelinek <jakub@redhat.com> + + PR c++/88215 + * c-ubsan.c: Include langhooks.h. + (ubsan_instrument_division): Change gcc_assert that main variants + of op0 and op1 types are equal to gcc_checking_assert that the + main variants are compatible types. + 2018-11-27 Eric Botcazou <ebotcazou@adacore.com> * c-ada-spec.c: Include stringpool.h. |