libstdc++/9234: [3.3/3.4 regression] unary minus for valarrays broken
Volker Reichelt
reichelt@igpm.rwth-aachen.de
Sun Feb 2 20:06:00 GMT 2003
Hi Paolo,
On 2 Feb, paolo@gcc.gnu.org wrote:
> Volker, Gaby approved your patch (see PR 9235). Could you
> please commit it to both mainline and 3_3?
I'm going to this tomorrrow morning. I wanted to do this earlier,
but had trouble with the testsuite (I got a new computer and had
some configury to do).
In addition, I found another failure in valarray: operator!=() is
broken, too, because of the following cut-n-paste error:
struct __not_equal_to
{
template<typename _Tp>
bool operator()(const _Tp& __x, const _Tp& __y) const
{ return __x == __y; }
^^^^
};
I'll commit that (as obvious) and a testcase, too.
> FYI, now in mainline the relevant code belongs to valarray_before.h,
> ~ line 462.
I already noticed, but thanks for the hint, anyway.
Regards,
Volker
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9234
More information about the Gcc-bugs
mailing list