[Bug libstdc++/95245] New: std::sort copies custom comparator

2020-05-20 Thread andrew.bell.ia at gmail dot com
++ 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

[Bug c++/111103] New: gcc accepts bad type syntax

2023-08-22 Thread andrew.bell.ia at gmail dot com via Gcc-bugs
++ 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; }

[Bug c++/111103] gcc accepts bad type syntax

2023-08-22 Thread andrew.bell.ia at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=03 --- Comment #4 from Andrew Bell --- What is the purpose of the extension?