This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/10300
- From: mmitchel at gcc dot gnu dot org
- To: mmitchel at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 13 Apr 2003 17:56:01 -0000
- Subject: c++/10300
- Reply-to: mmitchel at gcc dot gnu dot org
The following reply was made to PR c++/10300; it has been noted by GNATS.
From: mmitchel at gcc dot gnu dot org
To: gcc-gnats at gcc dot gnu dot org
Cc:
Subject: c++/10300
Date: 13 Apr 2003 17:49:39 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: mmitchel at gcc dot gnu dot org 2003-04-13 17:49:39
Modified files:
gcc/cp : ChangeLog init.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/init: new5.C
Log message:
PR c++/10300
* init.c (build_new_1): Correct logic for checking whether the
return value from the allocation function was zero.
PR c++/10300
* g++.dg/init/new5.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.103&r2=1.3076.2.104
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.299.2.4&r2=1.299.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.138&r2=1.2261.2.139
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/new5.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1