aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-03-14 18:16:21 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-03-14 18:16:21 +0000
commitdf6872b72d5ceb81427a55038f0dba06b72f7a68 (patch)
tree2de3a4b654eabedc9623db6e907605ab95ddca89
parent02433683072585bfffaef02567c3a496081cff55 (diff)
downloadgcc-df6872b72d5ceb81427a55038f0dba06b72f7a68.zip
gcc-df6872b72d5ceb81427a55038f0dba06b72f7a68.tar.gz
gcc-df6872b72d5ceb81427a55038f0dba06b72f7a68.tar.bz2
* combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): Remove.
From-SVN: r112062
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/combine.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5a272de..2cdf2b9 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 <dave.anglin@nrc-cnrc.gc.ca>
* pa/pa32-linux.h (CRT_CALL_STATIC_FUNCTION): Fix typo.
diff --git a/gcc/combine.c b/gcc/combine.c
index 04a3b04..2ff106d 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;