eb78

Martin von Loewis martin@mira.isdn.cs.tu-berlin.de
Tue Jun 2 01:21:00 GMT 1998


The warning egcs produces is somewhat false: f has a non-trivial
construction, but this was not the reason why this report was sent.
I made this an expected failure.

Martin

Index: eb78.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb78.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb78.C
*** eb78.C	1998/05/27 23:00:36	1.1
--- eb78.C	1998/06/02 08:02:33
*************** void
*** 95,101 ****
  UserClass::f(const String& filename) throw(BadFileName)
  {
    try {
!     File f(filename);
    }
    catch (const AccessViolation& e) {
      cout << "  FULLY recover from access-violation\n";
--- 95,101 ----
  UserClass::f(const String& filename) throw(BadFileName)
  {
    try {
!     File f(filename);   // gets bogus error - f is used XFAIL *-*-*
    }
    catch (const AccessViolation& e) {
      cout << "  FULLY recover from access-violation\n";



More information about the Gcc-patches mailing list