From: Eric Botcazou Date: Mon, 29 Sep 2008 23:56:19 +0000 (+0000) Subject: * dwarf2out.c (constant_size): Use HOST_WIDE_INT in parameter type. X-Git-Tag: releases/gcc-4.4.0~2221 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2eb20e13f10e43df5aa07b35cf9860b55a52a457;p=thirdparty%2Fgcc.git * dwarf2out.c (constant_size): Use HOST_WIDE_INT in parameter type. From-SVN: r140769 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8a5904f7903f..d8b9d1709ec8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-09-29 Eric Botcazou + + * dwarf2out.c (constant_size): Use HOST_WIDE_INT in parameter type. + 2008-09-29 Joseph Myers * ifcvt.c (noce_emit_store_flag): If using condition from original diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 98b98a808027..e39e687edbbe 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -4990,7 +4990,7 @@ static void record_comdat_symbol_number (dw_die_ref, htab_t, unsigned); static void add_sibling_attributes (dw_die_ref); static void build_abbrev_table (dw_die_ref); static void output_location_lists (dw_die_ref); -static int constant_size (long unsigned); +static int constant_size (unsigned HOST_WIDE_INT); static unsigned long size_of_die (dw_die_ref); static void calc_die_sizes (dw_die_ref); static void mark_dies (dw_die_ref); @@ -7507,7 +7507,7 @@ build_abbrev_table (dw_die_ref die) /* Return the power-of-two number of bytes necessary to represent VALUE. */ static int -constant_size (long unsigned int value) +constant_size (unsigned HOST_WIDE_INT value) { int log;