[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Fri Jan 6 14:04:26 2017 New Revision: 244157 URL: https://gcc.gnu.org/viewcvs?rev=244157=gcc=rev Log: PR78991 make __gnu_cxx::__ops constructors explicit PR libstdc++/78991

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Fri Jan 6 13:20:05 2017 New Revision: 244152 URL: https://gcc.gnu.org/viewcvs?rev=244152=gcc=rev Log: PR78991 make __gnu_cxx::__ops constructors explicit PR libstdc++/78991

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Fri Jan 6 12:33:58 2017 New Revision: 244150 URL: https://gcc.gnu.org/viewcvs?rev=244150=gcc=rev Log: PR78991 make __gnu_cxx::__ops constructors explicit PR libstdc++/78991

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|ASSIGNED Last reconfirmed|

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-04 Thread daiw at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 Tobias changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-04 Thread daiw at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 --- Comment #2 from Tobias --- Thanks. The evidence you collected shows quite clear, that it probably is a problem with clang. So I now posted it here: https://llvm.org/bugs/show_bug.cgi?id=31537

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 --- Comment #1 from Andrew Pinski --- How positive you are that this is a libstdc++ bug rather than a clang bug? It works correctly with GCC 5.4.0's front-end and GCC 7.0's libstdc++ and front-end.