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

Hugo Mildenberger Hugo.Mildenberger@topmail.de
Wed Feb 21 01:47:00 GMT 2001


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




More information about the Gcc-bugs mailing list