This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/9234: [3.3/3.4 regression] unary minus for valarrays broken
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: paolo at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org, gdr at integrable-solutions dot net, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Sun, 2 Feb 2003 22:08:44 +0100
- Subject: Re: libstdc++/9234: [3.3/3.4 regression] unary minus for valarrays broken
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