OSDN Git Service

* combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Mar 2006 18:16:21 +0000 (18:16 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Mar 2006 18:16:21 +0000 (18:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112062 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/combine.c

index 5a272de..2cdf2b9 100644 (file)
@@ -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.
index 04a3b04..2ff106d 100644 (file)
@@ -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;