diff options
author | Douglas B Rupp <rupp@gnat.com> | 2001-11-18 07:43:14 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-11-18 07:43:14 -0500 |
commit | 6f4fdd10f3563b9b04c4491c6a55608b1d975651 (patch) | |
tree | b70d8aa7dcbcd52027ab0ceef90a49551baa0e80 | |
parent | 5505dff9614fa632e9b5208ec8265d3ba3399740 (diff) | |
download | gcc-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/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.c | 2 |
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); |