g++ 2.95.3: throw does zero byte malloc?

Bernd Schmidt bernds@cambridge.redhat.com
Mon Feb 19 05:24:00 GMT 2001


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