[Bug libstdc++/118855] Simplify when __builtin_*g builtins are available

2025-02-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118855 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug libstdc++/118855] Simplify when __builtin_*g builtins are available

2025-02-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118855 --- Comment #4 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e8ad697a75b0870a833366daf687668a57cabb6e commit r15-7648-ge8ad697a75b0870a833366daf687668a57cabb6e Author: Jonathan Wakely Date:

[Bug libstdc++/118855] Simplify when __builtin_*g builtins are available

2025-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118855 --- Comment #3 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #1) > I'll test this properly tomorrow, but it passes the 26_numerics/bit/* tests: That is exactly what I meant.

[Bug libstdc++/118855] Simplify when __builtin_*g builtins are available

2025-02-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118855 --- Comment #2 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #0) > That is not the problem in C++ with templates. The advantage of > __builtin_*g is that it will be shorter to parse, fewer ops in constexpr > evaluation. And

[Bug libstdc++/118855] Simplify when __builtin_*g builtins are available

2025-02-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118855 --- Comment #1 from Jonathan Wakely --- I'll test this properly tomorrow, but it passes the 26_numerics/bit/* tests: --- a/libstdc++-v3/include/std/bit +++ b/libstdc++-v3/include/std/bit @@ -205,6 +205,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION

[Bug libstdc++/118855] Simplify when __builtin_*g builtins are available

2025-02-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118855 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED