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: RFC: --enable-checking=valgrind.


On Tue, Nov 12, 2002 at 08:11:06PM -0500, Hans-Peter Nilsson wrote:
> 
> Hum, as I said I was just soliciting feedback about whether this
> feature would be useful at all, and would then rather get the
> patch into shape to be applied so people can do this by
> themselves.  But since you think it's useful and Zack dives into
> reviewing the details, I guess it is, and it's time to shape up
> the damn patch. :-)

I definitely think it's useful -- especially if you add annotation
logic to ggc-page.c so it knows object boundaries.  (I just found a
(harmless) access-past-end-of-object bug by running cc1plus under
valgrind -- with ggc-simple.c; when ggc-page.c's in use it has no
clue.)

zw


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