: 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
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
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 <=
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
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
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
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
: 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;
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