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]

[PATCH] Nit s/GGC_POISON/ENABLE_GC_CHECKING/ in ggc-page.c


I forget exactly how I came across this, but the definition of 
poison_pages in ggc-page.c is wrapped in #ifdef ENABLE_GC_CHECKING.  But a 
call to it is wrapped in GGC_POISON, which is never defined.  The result 
is that we don't poison things properly when we read in a pch file.

Fixed with:

2003-10-31  Richard Earnshaw  <rearnsha@arm.com>

	* ggc-page.c (ggc_pch_read): Wrap call to poison_pages in 
	ENABLE_GC_CHECKING not in GGC_POISON.


Attachment: ggc-poison.patch
Description: ggc-poison.patch


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