------- Comment #1 from pcarlini at suse dot de 2006-06-01 21:37 -------
Gaby, I had a quick look and maybe it's just a trivial typo: the below seems
right to me and certainly fixes the testcase without regressions... What do you
think?
Thanks, Paolo.
//////////////
Index: include/bits/valarray_before.h
===================================================================
--- include/bits/valarray_before.h (revision 114214)
+++ include/bits/valarray_before.h (working copy)
@@ -589,7 +589,7 @@
: _BinBase<_Oper, valarray<_Tp>, valarray<_Tp> >
{
typedef _BinBase<_Oper, valarray<_Tp>, valarray<_Tp> > _Base;
- typedef _Tp value_type;
+ typedef typename _Base::value_type value_type;
_BinClos(const valarray<_Tp>& __v, const valarray<_Tp>& __w)
: _Base(__v, __w) {}
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pcarlini at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27867