This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30309] New: ICE with g++ -fipa-pta and malloc(?)
- From: "wouter dot vermaelen at pi dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Dec 2006 13:17:35 -0000
- Subject: [Bug c++/30309] New: ICE with g++ -fipa-pta and malloc(?)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Since a few days the following code triggers an ICE with the latest SVN
version:
> cat bug.c
void* malloc(unsigned);
void f()
{
void* p = malloc(0);
}
> g++ -fipa-pta bug.c
bug.c: In function 'void f()':
bug.c:5: internal compiler error: Segmentation fault
Compilation with gcc works as expected. Renaming 'malloc' solves (or hides?)
the problem.
--
Summary: ICE with g++ -fipa-pta and malloc(?)
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wouter dot vermaelen at pi dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30309