This is the mail archive of the gcc-patches@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]

eb78


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";


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