This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g++ ICE in find_function_data
- To: gcc-bugs at gcc dot gnu dot org
- Subject: g++ ICE in find_function_data
- From: scott snyder <snyder at d0sgibnl1 dot fnal dot gov>
- Date: Tue, 08 Aug 2000 23:46:03 CDT
hi -
For a recent cvs version of gcc (2.96 20000808 on i686-pc-linux-gnu),
the compiler gives an ICE on the following input:
------------------------------------------------------------------------
struct SurfDCA
{
SurfDCA ();
};
struct VtrackTest
{
int* getVtrack();
int* getVtrack(int, const SurfDCA* = new SurfDCA);
int* getVtrack(double);
};
int* VtrackTest::getVtrack()
{
return getVtrack(0);
}
int* VtrackTest::getVtrack(double)
{
return getVtrack(0);
}
------------------------------------------------------------------------
$ ./cc1plus x.cc
int *VtrackTest::getVtrack () int *VtrackTest::getVtrack () int *VtrackTest::getVtrack (double) int *VtrackTest::getVtrack (double)
x.cc:21: Internal compiler error in find_function_data, at function.c:
329
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
thanks,
sss