This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

g++ ICE in find_function_data



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]