++
Assignee: unassigned at gcc dot gnu.org
Reporter: andrew.bell.ia at gmail dot com
Target Milestone: ---
std::sort copies a custom comparator numerous times. If the comparator copy is
expensive, it makes the sort very slow. Of course, making the comparator cheap
to copy is an
++
Assignee: unassigned at gcc dot gnu.org
Reporter: andrew.bell.ia at gmail dot com
Target Milestone: ---
The following code is accepted by gcc 13.2 as confirmed by compiler explorer
(x86_64 or ARM):
typedef long long U8;
long long f()
{
U8 long long i = 23;
return i;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=03
--- Comment #4 from Andrew Bell ---
What is the purpose of the extension?