Re: [v3] libstdc++/57666

2013-06-21 Thread Gabriel Dos Reis
Paolo Carlini writes: | ... grrr, I attached the wrong testcase, isn't testing | anything. Corrected below. | | Paolo. | | /// OK. -- Gaby

Re: [v3] libstdc++/57666

2013-06-21 Thread Paolo Carlini
... grrr, I attached the wrong testcase, isn't testing anything. Corrected below. Paolo. /// Index: include/std/valarray === --- include/std/valarray(revision 200268) +++ include/std/valarray(working

[v3] libstdc++/57666

2013-06-21 Thread Paolo Carlini
Hi, looks like we implemented LWG 630 incompletely, not updating: valarray<>::operator=(const _Expr<>&) together with the copy assignment operator. The inconsistency clearly shows up eg when we try to assign the result of an arithmetic binary operation. Tested x86_64-linux. Gaby, any is