This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.






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