bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from void *' warning from -Wc++-compat.
* bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from void *' warning from -Wc++-compat. * Makefile.in (dominance.o-warn): Remove. From-SVN: r143593
This commit is contained in:
parent
9bacafeb4c
commit
61ad091447
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user