This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31045] New: gcc4.1. has problems with pointers
- From: "satyaakam at yahoo dot co dot in" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2007 16:57:34 -0000
- Subject: [Bug c++/31045] New: gcc4.1. has problems with pointers
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi ,
The following simple testcase does not compile using GCC4.1.1
#include <cstdlib>
int main() {
char **const p = (char **)std::malloc(sizeof*p);
return !p;
}
--
Summary: gcc4.1. has problems with pointers
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: satyaakam at yahoo dot co dot in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31045