This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [TestCase] PR C++/11384
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 18 Jul 2003 09:07:22 -0400
- Subject: Re: [TestCase] PR C++/11384
On Friday, Jul 18, 2003, at 03:20 US/Eastern, Gabriel Dos Reis wrote:
| Actually they are two different tests but since it looks like the new
| test
| will not work without weak symbols should I add the xfail from the
| other test?
Yes.
This is what I checked in:
ChangeLog:
2003-07-18 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/init/init-ref4.C: xfail on targets without
weak symbols.
Patch:
Index: g++.dg/init/init-ref4.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/init/init-ref4.C,v
retrieving revision 1.1
diff -u -p -r1.1 init-ref4.C
--- g++.dg/init/init-ref4.C 17 Jul 2003 11:53:07 -0000 1.1
+++ g++.dg/init/init-ref4.C 18 Jul 2003 13:05:10 -0000
@@ -2,7 +2,8 @@
// PR c++/11384
// foo<int>::_S_something was not being emitted.
-// { dg-do run }
+// { dg-do run { xfail *-*-aout *-*-coff *-*-hpux* *-*-hms } }
+// On targets that don't support weak symbols, we require an explicit
template<typename T>
struct foo