This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ 2.95.3: throw does zero byte malloc?
- To: Sebastian Rittau <srittau at jroger dot in-berlin dot de>
- Subject: Re: g++ 2.95.3: throw does zero byte malloc?
- From: Bernd Schmidt <bernds at cambridge dot redhat dot com>
- Date: Mon, 19 Feb 2001 13:24:46 +0000 (GMT)
- Cc: <gcc-bugs at gcc dot gnu dot org>
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