This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Valarray regression testcase
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: libstdc++ at gcc dot gnu dot org
- Cc: gdr at codesourcery dot com, nathan at codesourcery dot com
- Date: Fri, 11 Jan 2002 21:32:44 +0100
- Subject: Valarray regression testcase
Hi,
this is a short testcase I have prepared from PR5348, which shows concisely what
is causing the two valarray regressions we are seeing in the testsuite:
/////////////
template<typename _Type1, typename _Type2>
class _Bin;
template<typename _Type1>
struct _Bin<_Type1, double>
{
_Bin () {}
};
_Bin<double, double> a;
/////////////
reduced.cc: In function `void __static_initialization_and_destruction_0(int,
int)':
reduced.cc:7: `_Bin<_Type1, double>::_Bin() [with _Type1 = double]' is private
reduced.cc:10: within this context
Gaby, I have CC-ed this message to Nathan. Ok?
Cheers,
Paolo.