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]

Internal compiler error with egcs-980315 snapshot


The following code (culled from g++.ext/delete.C in the testsuite)
produced an internal compiler error on two systems(hpux and
sparc-sysv4). Since I see from test results posted to the egcs list that
delete.C fails on all tested platforms, I guess my platform is not
related to the bug. The 980302 snapshot compiles delete.C fine.

class A {
  static A*(*ptr)(int = 4);
};

btw, if I delete the default parameter, the code compiles.

-- arvind


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