]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
re PR sanitizer/88426 (Compiler crash if use special code with command line switch...
authorJakub Jelinek <jakub@redhat.com>
Tue, 11 Dec 2018 13:51:44 +0000 (14:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 11 Dec 2018 13:51:44 +0000 (14:51 +0100)
commit6d9391732bc8816627ff40103a6261d233c722bf
treeb926476141d3410ddc5c98ecd3f60c03a32b092a
parentef9fc3ba34633a5efc1a123557ecda1691731466
re PR sanitizer/88426 (Compiler crash if use special code with command line switch -fsanitize=float-cast-overflow)

PR sanitizer/88426
* c-convert.c (convert): Call c_fully_fold before calling
ubsan_instrument_float_cast.

* c-c++-common/ubsan/float-cast-overflow-11.c: New test.

From-SVN: r267022
gcc/c/ChangeLog
gcc/c/c-convert.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-11.c [new file with mode: 0644]