[Bug c++/102780] Checking constraints using large fold expression is slow

2024-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102780 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7d11d813583efad652c83c7631ef8d6d18489119 commit r14-6974-g7d11d813583efad652c83c7631ef8d6d18489119 Author: Jonathan Wakely Date:

[Bug c++/102780] Checking constraints using large fold expression is slow

2022-12-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102780 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/102780] Checking constraints using large fold expression is slow

2022-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102780 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:16605ad9b1e1a6c5aab2c98b5b0f995285584f81 commit r10-11124-g16605ad9b1e1a6c5aab2c98b5b0f995285584f81 Author: Patrick Palka

[Bug c++/102780] Checking constraints using large fold expression is slow

2022-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102780 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:71d2567a678b01a3a59064d22e0f9165be9e93c3 commit r11-10424-g71d2567a678b01a3a59064d22e0f9165be9e93c3 Author: Patrick Palka

[Bug c++/102780] Checking constraints using large fold expression is slow

2021-10-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102780 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/102780] Checking constraints using large fold expression is slow

2021-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102780 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9927ecbb42d5be48fa933adc26f8601fab5007ca commit r12-4769-g9927ecbb42d5be48fa933adc26f8601fab5007ca Author: Patrick Palka Date: T

[Bug c++/102780] Checking constraints using large fold expression is slow

2021-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102780 --- Comment #3 from Jonathan Wakely --- Patrick suggested defining the destructor constraint like this instead: // Conditionally non-trivial dtor, if required. constexpr ~variadic_union() requires (!trivially_destructible) ||

[Bug c++/102780] Checking constraints using large fold expression is slow

2021-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102780 --- Comment #2 from Jonathan Wakely --- In the real code, I find that a separate constrained specialization like this: template union variadic_union { T first; variadic_union rest; static constexpr int size = variadic_union::size + 1; }

[Bug c++/102780] Checking constraints using large fold expression is slow

2021-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102780 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|