From: John David Anglin Date: Mon, 1 Jul 2002 21:50:14 +0000 (+0000) Subject: * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT. X-Git-Tag: releases/gcc-3.1.1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=719d7fd750b17abe715b9af08ccb7979008e5949;p=thirdparty%2Fgcc.git * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT. From-SVN: r55157 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 49ad4284b47a..da5ae6290f91 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-07-01 John David Anglin + + * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT. + 2002-06-30 David Edelsohn * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index f4b1cf09ff35..35102650cc6c 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -5037,7 +5037,7 @@ init_emit_once (line_numbers) tries to use these variables. */ for (i = - MAX_SAVED_CONST_INT; i <= MAX_SAVED_CONST_INT; i++) const_int_rtx[i + MAX_SAVED_CONST_INT] = - gen_rtx_raw_CONST_INT (VOIDmode, i); + gen_rtx_raw_CONST_INT (VOIDmode, (HOST_WIDE_INT) i); ggc_add_rtx_root (const_int_rtx, 2 * MAX_SAVED_CONST_INT + 1); if (STORE_FLAG_VALUE >= - MAX_SAVED_CONST_INT