This is the mail archive of the gcc-bugs@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]

AW: g++ 2.95.3: throw does zero byte malloc?


Yes, same with 2.95.2.

Hugo Mildenberger

-----Ursprungliche Nachricht-----
Von: gcc-bugs-owner@gcc.gnu.org [mailto:gcc-bugs-owner@gcc.gnu.org]Im
Auftrag von Bernd Schmidt
Gesendet: Mo, 19. Februar 2001 14:25
An: Sebastian Rittau
Cc: gcc-bugs@gcc.gnu.org
Betreff: Re: g++ 2.95.3: throw does zero byte malloc?


On Sat, 17 Feb 2001, Sebastian Rittau wrote:

> Consider the following program:
>
> | int main(int argc, char **argv)
> | {
> |   throw 5;
> | }
>
> If I compile and link this with libefence (electric-fence malloc
> debugger), efence claims that a zero byte memory allocation is made:

Does it happen with 2.95.2 as well?


Bernd



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