This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

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



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