aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas B Rupp <rupp@gnat.com>2001-11-18 07:43:14 -0500
committerRichard Kenner <kenner@gcc.gnu.org>2001-11-18 07:43:14 -0500
commit6f4fdd10f3563b9b04c4491c6a55608b1d975651 (patch)
treeb70d8aa7dcbcd52027ab0ceef90a49551baa0e80
parent5505dff9614fa632e9b5208ec8265d3ba3399740 (diff)
downloadgcc-6f4fdd10f3563b9b04c4491c6a55608b1d975651.zip
gcc-6f4fdd10f3563b9b04c4491c6a55608b1d975651.tar.gz
gcc-6f4fdd10f3563b9b04c4491c6a55608b1d975651.tar.bz2
alpha.c (alpha_start_function, VMS): Cast shift arg to HOST_WIDE_INT, not long.
* config/alpha/alpha.c (alpha_start_function, VMS): Cast shift arg to HOST_WIDE_INT, not long. From-SVN: r47146
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/alpha/alpha.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8f3db21..b4ed1c4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
+ * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
+ arg to HOST_WIDE_INT, not long.
+
* config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
(HAS_INIT_SECTION): Define.
(REAL_ARITHMETIC): Don't undefine.
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index ca9c0e7..c112450 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -6334,7 +6334,7 @@ alpha_start_function (file, fnname, decl)
{
fprintf (file, "\t.frame $%d,", vms_unwind_regno);
fprintf (file, HOST_WIDE_INT_PRINT_DEC,
- frame_size >= (1l << 31) ? 0 : frame_size);
+ frame_size >= ((HOST_WIDE_INT) 1 << 31) ? 0 : frame_size);
fputs (",$26,", file);
fprintf (file, HOST_WIDE_INT_PRINT_DEC, reg_offset);
fputs ("\n", file);