]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/internal-fn.c
predict.h (PROB_LIKELY): Fix the value.
authorJakub Jelinek <jakub@redhat.com>
Mon, 16 Dec 2013 18:46:49 +0000 (19:46 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 16 Dec 2013 18:46:49 +0000 (19:46 +0100)
commitd5fa9cc9947ab504d0248ebb6d707dd480c51f03
tree30e2cba74403c48113ac6fb7b1f8dc931d074c7a
parent97286431624c245b32ae05c33e9af2876eda55ee
predict.h (PROB_LIKELY): Fix the value.

* predict.h (PROB_LIKELY): Fix the value.
* internal-fn.c (ubsan_expand_si_overflow_mul_check): Add support
for overflow checking for modes without 2xwider supported mode,
if the mode has 2xnarrower mode.

* c-c++-common/ubsan/overflow-mul-3.c: New test.
* c-c++-common/ubsan/overflow-mul-4.c: New test.

From-SVN: r206026
gcc/ChangeLog
gcc/internal-fn.c
gcc/predict.h
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/overflow-mul-3.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c [new file with mode: 0644]