aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dwarf2out.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8a5904f..d8b9d17 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-29 Eric Botcazou <ebotcazou@adacore.com>
+
+ * dwarf2out.c (constant_size): Use HOST_WIDE_INT in parameter type.
+
2008-09-29 Joseph Myers <joseph@codesourcery.com>
* ifcvt.c (noce_emit_store_flag): If using condition from original
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 98b98a8..e39e687 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;