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: libcpp buffer management



On Jan 6, 2005, at 10:47 PM, Mike Stump wrote:


Here is a small one for libcppp. The idea is that we should invalidate the buffer by setting buffer_valid to false when we deallocate the buffer when we pop it.

I know this appears obvious, but I wanted to make sure there isn't something non-obvious that I was missing.

Yes this was rejected once before See <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00344.html> which is the exactly same patch.

The original problem was fixed a different way though
see <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00604.html> for the
patch which fixed the original problem.

-- Pinski


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