[Bug libstdc++/102912] [12 Regression] Not full support of const arguments in std::variant

2021-11-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102912 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/102912] [12 Regression] Not full support of const arguments in std::variant

2021-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102912 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7551a9957437f20254be41d396962b9ccc46cee6 commit r12-4888-g7551a9957437f20254be41d396962b9ccc46cee6 Author: Jonathan Wakely

[Bug libstdc++/102912] [12 Regression] Not full support of const arguments in std::variant

2021-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102912 --- Comment #2 from Jonathan Wakely --- This is a bit of a mess. Previously we didn't construct the correct member of the union in _-variant_construct_single, we just plopped an object in the memory occupied by the union: void* __storage =

[Bug libstdc++/102912] [12 Regression] Not full support of const arguments in std::variant

2021-11-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102912 Jonathan Wakely changed: What|Removed |Added Known to work||11.2.1 Summary|Not full