https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113841
--- Comment #11 from Viktor Ostashevskyi ---
(In reply to Jonathan Wakely from comment #10)
> This one's much harder to fix:
>
> #include
>
> template
> struct Alloc
> {
> using value_type = T;
>
> Alloc(int) { }
>
> template Alloc(co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113841
--- Comment #9 from Viktor Ostashevskyi ---
(In reply to Jonathan Wakely from comment #8)
> Calling swap unqualified performs ADL, which has to find all the associated
> namespaces and associated classes. To do that it has to complete all the
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113841
--- Comment #7 from Viktor Ostashevskyi ---
I'm still wondering why for std::hash, the T type is checked for anything.
It shouldn't matter what T is, as we're hashing T*...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113841
--- Comment #3 from Viktor Ostashevskyi ---
Additional information: everything works fine both for GCC12 and Clang if swap
call is fully qualified, i.e.:
std::swap(h1, h2);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113841
--- Comment #1 from Viktor Ostashevskyi ---
Issue is visible with -std=c++20, works fine for -std=c++17 (for both GCC12 and
Clang).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113841
--- Comment #2 from Viktor Ostashevskyi ---
Compiler exporer link: https://godbolt.org/z/cPqsKq6nM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113841
Bug ID: 113841
Summary: Can't swap two std::hash
Product: gcc
Version: 12.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662
--- Comment #2 from Viktor Ostashevskyi ---
Adding --param=ranger-recompute-depth=1 or --param=ranger-recompute-depth=2
also fixes the issue. Higher values behave wrongly.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662
Bug ID: 113662
Summary: [13/14 Regression] Wrong code for std::sort with fancy
pointer
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110075
--- Comment #6 from Viktor Ostashevskyi ---
(In reply to Marek Polacek from comment #5)
> Yes, because we'd have to analyze the body of the function to see that it
> does not return one of the parameters, which often we can't do.
>
> There will
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110075
Viktor Ostashevskyi changed:
What|Removed |Added
CC||ostash at ostash dot kiev.ua
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100667
Viktor Ostashevskyi changed:
What|Removed |Added
CC||ostash at ostash dot kiev.ua
---
12 matches
Mail list logo