aboutsummaryrefslogtreecommitdiff
path: root/gcc/lists.c
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <mkuvyrkov@ispras.ru>2006-03-30 15:41:00 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2006-03-30 15:41:00 +0000
commitc7ec5472672f0e68687081caa28ffb196e9c37a1 (patch)
tree3291951d5fbbe5479776ca150e5c6b32db277c5f /gcc/lists.c
parent682b6a9e8f39f742d2db10c7d131a21405ca34fa (diff)
downloadgcc-c7ec5472672f0e68687081caa28ffb196e9c37a1.zip
gcc-c7ec5472672f0e68687081caa28ffb196e9c37a1.tar.gz
gcc-c7ec5472672f0e68687081caa28ffb196e9c37a1.tar.bz2
re PR target/26734 (GCC cannot bootstrap on IA64 HP-UX)
2006-03-30 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> PR target/26734 * rtl.def (DEPS_LIST): Change type of the second operand to 'int'. * target.h (struct gcc_target.speculate_insn): Change type of the second parameter to 'int'. * lists.c (alloc_DEPS_LIST): Change signature. Update reference to the second operand of the DEPS_LIST. (copy_DEPS_LIST_list): Update reference to the second operand of the DEPS_LIST. * rtl.h (alloc_DEPS_LIST): Update signature. * sched-int.h (ds_t): Change typedef to 'int'. (DEP_STATUS, BITS_PER_DEP_STATUS): Update. From-SVN: r112538
Diffstat (limited to 'gcc/lists.c')
-rw-r--r--gcc/lists.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/lists.c b/gcc/lists.c
index 907ccf5..23529a3 100644
--- a/gcc/lists.c
+++ b/gcc/lists.c
@@ -1,6 +1,6 @@
/* List management for the GCC expander.
Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2003, 2004 Free Software Foundation, Inc.
+ 1999, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of GCC.
@@ -159,7 +159,7 @@ alloc_EXPR_LIST (int kind, rtx val, rtx next)
node available, we'll use it, otherwise a call to gen_rtx_DEPS_LIST
is made. */
rtx
-alloc_DEPS_LIST (rtx val, rtx next, HOST_WIDE_INT ds)
+alloc_DEPS_LIST (rtx val, rtx next, int ds)
{
rtx r;
@@ -169,7 +169,7 @@ alloc_DEPS_LIST (rtx val, rtx next, HOST_WIDE_INT ds)
unused_deps_list = XEXP (r, 1);
XEXP (r, 0) = val;
XEXP (r, 1) = next;
- XWINT (r, 2) = ds;
+ XINT (r, 2) = ds;
PUT_REG_NOTE_KIND (r, VOIDmode);
gcc_assert (GET_CODE (r) == DEPS_LIST);
@@ -257,7 +257,7 @@ copy_DEPS_LIST_list (rtx list)
while (list)
{
- *resp = alloc_DEPS_LIST (XEXP (list, 0), 0, XWINT (list, 2));
+ *resp = alloc_DEPS_LIST (XEXP (list, 0), 0, XINT (list, 2));
PUT_REG_NOTE_KIND (*resp, REG_NOTE_KIND (list));
resp = &XEXP (*resp, 1);
list = XEXP (list, 1);