This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [bitmap memory]: Allocation part 2



On Nov 25, 2004, at 6:47 PM, Andreas Schwab wrote:


Nathan Sidwell <nathan@codesourcery.com> writes:

2004-11-24 Nathan Sidwell <nathan@codesourcery.com>

	* bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
	* bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
	(BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC.
	(BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE.

How can this work, given that you renamed BITMAP_OBSTACK_ALLOC to BITMAP_ALLOC and BITMAP_OBSTACK_FREE to BITMAP_FREE just 2 days ago?

This is what I applied as obvious to fix the problem.


ChangeLog:

	* bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not
	BITMAP_OBSTACK_ALLOC.
	(BITMAP_XFREE): Use BITMAP_FREE and not BITMAP_OBSTACK_FREE.

Attachment: temp.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]