Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: terrelln at fb dot com
Target Milestone: ---
When unordered_map or unordered_set has a nested unordered_{map,set} as a key,
operator== becomes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81388
--- Comment #4 from Nick Terrell ---
Good point Marc.
The generated assembly is wrong because the loop should be run once, but it is
run 2^63 times. Changing the amount dst is incremented by to 4 makes it run
2^62 times, and changing it to 8 ma
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: terrelln at fb dot com
Target Milestone: ---
gcc 7.1 on x86 produces incorrect output for correct code. gcc 6.3 produced
correct assembly. See https://godbolt.org/g/mLyxGz or below