aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2008-09-29 23:56:19 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2008-09-29 23:56:19 +0000
commit2eb20e13f10e43df5aa07b35cf9860b55a52a457 (patch)
tree6148e8766ed3f942a9f7d4f3f6b0017c41eb8c4d
parent2dda7d28ea84a90685ca6040c10f3afec25a2473 (diff)
downloadgcc-2eb20e13f10e43df5aa07b35cf9860b55a52a457.zip
gcc-2eb20e13f10e43df5aa07b35cf9860b55a52a457.tar.gz
gcc-2eb20e13f10e43df5aa07b35cf9860b55a52a457.tar.bz2
* dwarf2out.c (constant_size): Use HOST_WIDE_INT in parameter type.
From-SVN: r140769
-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;