From df6872b72d5ceb81427a55038f0dba06b72f7a68 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 14 Mar 2006 18:16:21 +0000 Subject: [PATCH] * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): Remove. From-SVN: r112062 --- gcc/ChangeLog | 2 ++ gcc/combine.c | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5a272de5a24..2cdf2b90c56 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -12,6 +12,8 @@ * config/bfin/bfin.h (UNALIGNED_WORD_ASM_OP): Remove. * system.h (UNALIGNED_WORD_ASM_OP): Poison. + * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): Remove. + 2006-03-14 John David Anglin * pa/pa32-linux.h (CRT_CALL_STATIC_FUNCTION): Fix typo. diff --git a/gcc/combine.c b/gcc/combine.c index 04a3b0492c7..2ff106d684c 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -139,12 +139,6 @@ static int max_uid_cuid; #define INSN_CUID(INSN) \ (INSN_UID (INSN) > max_uid_cuid ? insn_cuid (INSN) : uid_cuid[INSN_UID (INSN)]) -/* In case BITS_PER_WORD == HOST_BITS_PER_WIDE_INT, shifting by - BITS_PER_WORD would invoke undefined behavior. Work around it. */ - -#define UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD(val) \ - (((unsigned HOST_WIDE_INT) (val) << (BITS_PER_WORD - 1)) << 1) - /* Maximum register number, which is the size of the tables below. */ static unsigned int combine_max_regno; -- 2.30.2