This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/2680: operator new override bug
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/2680: operator new override bug
- From: cwoollat at iafrica dot com
- Date: 29 Apr 2001 04:49:29 -0000
- Reply-To: cwoollat at iafrica dot com
>Number: 2680
>Category: c++
>Synopsis: operator new override bug
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 28 21:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Cedric Woollatt
>Release: 2.95
>Organization:
>Environment:
gcc C++
>Description:
void * operator new(unsigned, unsigned);
void * doodaa(unsigned n)
{
return new (1) int[n];
}
//I used Msc 7 (circa 1990) and it works fine.
>How-To-Repeat:
void * operator new(unsigned, unsigned);
void * doodaa(unsigned n)
{
return new (1) int[n];
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: