This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
eb78
- To: egcs-patches at cygnus dot com
- Subject: eb78
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Tue, 2 Jun 1998 10:15:42 +0200
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";