[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2023-05-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #35 from Jonathan Wakely --- includes just so that std::random_device can do: random_device() { _M_init("default"); } explicit random_device(const std::string& __token) { _M_init(__token); } If we didn't need to

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2023-05-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 Jonathan Wakely changed: What|Removed |Added Target Milestone|12.4|---

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2023-05-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 Richard Biener changed: What|Removed |Added Target Milestone|12.3|12.4 --- Comment #34 from Richard

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2022-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 Richard Biener changed: What|Removed |Added Target Milestone|12.2|12.3 --- Comment #33 from Richard

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2022-05-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 Jakub Jelinek changed: What|Removed |Added Target Milestone|12.0|12.2 --- Comment #32 from Jakub Jelinek

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2022-03-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #31 from Jonathan Wakely --- std::construct_at and std::destroy_at are in alongside std::_Construct and std::_Destroy. But the latter need iterator category definitions for destroying sequences. std::construct_at and std::destroy_at

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2022-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #30 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #29) > Avoiding makes a big difference: > > $ : | g++-11 -std=gnu++17 -P -E -x c++ - -include algorithm | wc -l > 27018 Doh, pasted the wrong line, the first

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2022-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #29 from Jonathan Wakely --- Avoiding makes a big difference: $ : | g++-11 -std=gnu++17 -P -E -x c++ - -include algorithm | wc -l 27018 $ : | g++-11 -std=gnu++17 -P -E -x c++ - -include algorithm | wc -l 25188 $ : | g++-12

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2022-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #28 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ac73c944eac88f37db2767aa4acc7ff6f4983f21 commit r12-7699-gac73c944eac88f37db2767aa4acc7ff6f4983f21 Author: Jonathan Wakely

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2022-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #27 from Jonathan Wakely --- pst/algorithm_impl.h includes just because it needs std::not_fn. We could move that to a separate header. Even without that, we could do: --- a/libstdc++-v3/include/pstl/algorithm_impl.h +++

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2022-03-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #26 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:00df7ee4474faca91d3460fe78a88e280c6c1126 commit r12-7691-g00df7ee4474faca91d3460fe78a88e280c6c1126 Author: Jonathan Wakely

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2021-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #25 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a1fc4075fcdf028f2e1dc00ce515a947127e2667 commit r12-4252-ga1fc4075fcdf028f2e1dc00ce515a947127e2667 Author: Jonathan Wakely

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #24 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:acf3a21cbc26b39b73c0006300f35ff017ddd6cb commit r12-4083-gacf3a21cbc26b39b73c0006300f35ff017ddd6cb Author: Jonathan Wakely

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2021-04-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #23 from Jonathan Wakely --- The other improvement we could make for C++20 is to replace in with smaller pieces, as it doesn't need the definition of std::streambuf_iterator: --- a/libstdc++-v3/include/bits/ranges_algobase.h +++

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2021-04-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 Jonathan Wakely changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2021-04-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #21 from Jonathan Wakely --- This seems to work: diff --git a/libstdc++-v3/include/pstl/glue_algorithm_defs.h b/libstdc++-v3/include/pstl/glue_algorithm_defs.h index 48bc56ae401..cef78e22e31 100644 ---

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2021-04-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #20 from Jonathan Wakely --- As noted in PR 99958 comment 1, got big, because: is included by which is included by which is included by which is included by which is included by which is included by . is included by ,

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2021-04-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #19 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #16) > includes so std::boyer_moore_searcher can use > std::vector, but it doesn't need it at all. Using std::unique_ptr would > do fine. We can't change that

[Bug libstdc++/92546] Large increase in preprocessed file sizes in C++2a mode

2021-01-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 Jonathan Wakely changed: What|Removed |Added Target Milestone|10.3|12.0 Summary|[10/11