reichelt@igpm.rwth-aachen.de writes: [...] | I think that Gaby's patch | | http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00197.html | | caused the regression, since the patch below fixes the | problem for me. (I didn't do a bootstrap or regression | tests, though.) | >How-To-Repeat: | g++ -c | >Fix: | =========================================================== | --- gcc-old/libstdc++-v3/include/bits/valarray_meta.h Sat Jan 4 01:37:31 2003 | +++ gcc-new/libstdc++-v3/include/bits/valarray_meta.h Wed Jan 8 23:26:44 2003 | @@ -457,7 +457,7 @@ namespace std | _UnBase(const _Arg& __e) : _M_expr(__e) {} | | value_type operator[](size_t __i) const | - { return _M_expr[__i]; } | + { return _Oper() (_M_expr[__i]); } This analysis is correct. Patch approved. Thanks! -- Gaby Release: unknown
State-Changed-From-To: open->closed State-Changed-Why: Mail picked up by gnats.