public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* don't know how to report this problem
@ 2004-09-06  0:08 Steve Sayre
  0 siblings, 0 replies; only message in thread
From: Steve Sayre @ 2004-09-06  0:08 UTC (permalink / raw)
  To: gcc-help

Hello,

I've been using gcc-3.4.1 on a pc-Linux platform and recently I found an 
error which was caught using valgrind-2.1.1

The error is a mismatch delete call in include/c++/3.4.1/memory line 
122.  ::operator delete is being called on a temporary buffer array 
instead of the correct call to ::operator delete[].

   /**
    *  @brief The companion to get_temporary_buffer().
    *  @param  p  A buffer previously allocated by get_temporary_buffer.
    *  @return   None.
    *
    *  Frees the memory pointed to by p.
    */
   template<typename _Tp>
     void
     return_temporary_buffer(_Tp* __p)
     { ::operator delete(__p, nothrow); }  <---ERROR!

Since this did not appear as a bug, I cannot really fill out a bug 
report.  How should I proceed to report this?

Thanks,

-Steve Sayre-



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-06  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-06  0:08 don't know how to report this problem Steve Sayre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).