This is the mail archive of the gcc@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: C++ :: Stack array bounds write purify error with exceptions


On Wed, Jan 05, 2005 at 08:23:50AM -0500, Frank Ch. Eigler wrote:
> Raghu Annaluru <raghu_annaluru@yahoo.com> writes:
> 
> > We are facing a purify "Stack array bounds write"
> > error with exceptions. [...]
> 
> As far as I know, Purify has always needed some adjustments to work
> with different versions of gcc.  Since purify is proprietary software,
> it is difficult to give any useful advice, except that you could
> contact its author.

Purify operates directly on the assembly code, so if it detects a stack
array bounds write, it is quite likely to be a bug in gcc (though it might
be the type of bug that matters only in embedded systems, where a seperate
stack is not used for interrupts).  I recall that the author of valgrind
has found very similar bugs in several versions of gcc, though I don't
know if this one is among them.

If you work on the x86 platform, I suggest trying to find the same bug
with valgrind (see http://valgrind.kde.org/ ).


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