This is the mail archive of the gcc@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]
Other format: [Raw text]

C++ testcase question: pointers to member functions


Can someone who understands C++ pointers to member functions please
take a look at this?

g++.old-deja/g++.mike/p10769a.C is a "run" test that fails to compile
due to errors that the test claims are bogus.  PR 10769 was for an ICE.
The test was introduced 1997-08-19, comments that the errors are bogus
were added 1998-10-19, and the PR was closed 2003-05-14.

If the errors are indeed bogus then this needs a new PR to track the
problem.  C++ has changed a lot, though, so if the errors are now
expected then this ought to be changed to a "compile" test, with
dg-bogus replaced by dg-error and the expected text.  Fixing the test
will get rid of the following annoying message in all test summaries:

  WARNING: g++.old-deja/g++.mike/p10769a.C compilation failed to produce
  executable

Janis


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