diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-12-16 19:46:49 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-12-16 19:46:49 +0100 |
commit | d5fa9cc9947ab504d0248ebb6d707dd480c51f03 (patch) | |
tree | 30e2cba74403c48113ac6fb7b1f8dc931d074c7a /gcc/predict.h | |
parent | 97286431624c245b32ae05c33e9af2876eda55ee (diff) | |
download | gcc-d5fa9cc9947ab504d0248ebb6d707dd480c51f03.zip gcc-d5fa9cc9947ab504d0248ebb6d707dd480c51f03.tar.gz gcc-d5fa9cc9947ab504d0248ebb6d707dd480c51f03.tar.bz2 |
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
Diffstat (limited to 'gcc/predict.h')
-rw-r--r-- | gcc/predict.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.h b/gcc/predict.h index 23435dc..125245e 100644 --- a/gcc/predict.h +++ b/gcc/predict.h @@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see #define PROB_VERY_LIKELY (REG_BR_PROB_BASE - PROB_VERY_UNLIKELY) #define PROB_ALWAYS (REG_BR_PROB_BASE) #define PROB_UNLIKELY (REG_BR_PROB_BASE / 5 - 1) -#define PROB_LIKELY (PROB_ALWAYS - PROB_VERY_LIKELY) +#define PROB_LIKELY (REG_BR_PROB_BASE - PROB_UNLIKELY) #define DEF_PREDICTOR(ENUM, NAME, HITRATE, FLAGS) ENUM, enum br_predictor |