aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/bitmap.h4
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2697a7f..6e8a60f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-24 Ben Elliston <bje@au.ibm.com>
+
+ * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
+ void *' warning from -Wc++-compat.
+ * Makefile.in (dominance.o-warn): Remove.
+
2008-01-23 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/38932
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 5953668..8b214b9 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -179,8 +179,6 @@ build/gengtype-lex.o-warn = -Wno-error
SYSCALLS.c.X-warn = -Wno-strict-prototypes -Wno-error
# dfp.c contains alias violations
dfp.o-warn = -Wno-error
-# dominance.c contains a -Wc++compat warning.
-dominance.o-warn = -Wno-error
# mips-tfile.c contains -Wcast-qual warnings.
mips-tfile.o-warn = -Wno-error
diff --git a/gcc/bitmap.h b/gcc/bitmap.h
index 7f17dc1..905eed3 100644
--- a/gcc/bitmap.h
+++ b/gcc/bitmap.h
@@ -194,8 +194,8 @@ extern hashval_t bitmap_hash(const_bitmap);
#define BITMAP_GGC_ALLOC() bitmap_gc_alloc ()
/* Do any cleanup needed on a bitmap when it is no longer used. */
-#define BITMAP_FREE(BITMAP) \
- ((void)(bitmap_obstack_free (BITMAP), (BITMAP) = NULL))
+#define BITMAP_FREE(BITMAP) \
+ ((void) (bitmap_obstack_free ((bitmap) BITMAP), (BITMAP) = (bitmap) NULL))
/* Iterator for bitmaps. */