[Bug libstdc++/71181] New: Reserving in unordered_map doesn't reserve enough

2016-05-18 Thread riad93 at mail dot ru
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: riad93 at mail dot ru Target Milestone: --- Code: #include #include using namespace std; int main() { std::unordered_map<int, int> x; x.reserve(97); std::cout << x.bucket_co

[Bug libstdc++/71181] Reserving in unordered_map doesn't reserve enough

2016-05-18 Thread riad93 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71181 Alexey Dmitriev changed: What|Removed |Added Version|5.1.0 |6.1.0 --- Comment #2 from Alexey

[Bug libstdc++/71181] Reserving in unordered_map doesn't reserve enough

2016-05-18 Thread riad93 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71181 --- Comment #1 from Alexey Dmitriev --- in n4582 it's already not valid as they've change 23.2.5p15 to <=

[Bug lto/71018] New: lto + ipa-pta causes exception with trivial boost::ptime code.

2016-05-09 Thread riad93 at mail dot ru
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: riad93 at mail dot ru Target Milestone: --- Created attachment 38447 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38447=edit My code

[Bug lto/71018] lto + ipa-pta causes exception with trivial boost::ptime code.

2016-05-09 Thread riad93 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71018 --- Comment #1 from riad93 at mail dot ru --- Accidentaly sent before adding info -v: Using built-in specs. COLLECT_GCC=/opt/gcc-6/bin/c++-6.1 COLLECT_LTO_WRAPPER=/opt/gcc-6/libexec/gcc/x86_64-pc-linux-gnu/6.1.0/lto-wrapper Target: x86_64-pc

[Bug lto/71018] lto + ipa-pta causes exception with trivial boost::ptime code.

2016-05-09 Thread riad93 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71018 --- Comment #2 from riad93 at mail dot ru --- Created attachment 38449 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38449=edit preprocessed code It's in tar.gz since it's too big for upload here as plaintext

[Bug lto/71018] lto + ipa-pta causes exception with trivial boost::ptime code.

2016-05-09 Thread riad93 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71018 riad93 at mail dot ru changed: What|Removed |Added Attachment #38449|0 |1 is obsolete

[Bug c++/72836] New: global variable read clashes with reading from cin with sync_stdio(false)

2016-08-08 Thread riad93 at mail dot ru
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: riad93 at mail dot ru Target Milestone: --- code #include using namespace std; int read; int main(){ ios_base::sync_with_stdio(0); int n; cin >> n;

[Bug libstdc++/103621] New: stable_sort could call std::__merge_sort_with_buffer directly in typical case

2021-12-08 Thread riad93 at mail dot ru via Gcc-bugs
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: riad93 at mail dot ru Target Milestone: --- So, currently __stable_sort is implemented this way: if (__buf.begin() == 0) std::__inplace_stable_sort(__first