[Bug tree-optimization/109985] __builtin_prefetch ignored by GCC 12/13
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109985 Christian Mazakas changed: What|Removed |Added CC||christian.mazakas at gmail dot com --- Comment #2 from Christian Mazakas --- Created attachment 55172 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55172=edit Preprocessed source from the relevant godbolt.org link This is the preprocessed output on my machine, generated using the code from the relevant benchmark and develop Branch of Unordered Let me know if it doesn't provide enough information or if more is required.
[Bug libstdc++/108952] New: Regression in uses_allocator_construction_args for pair of rvalue references
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108952 Bug ID: 108952 Summary: Regression in uses_allocator_construction_args for pair of rvalue references Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: christian.mazakas at gmail dot com Target Milestone: --- Consider the following example as demonstrated on Compiler Explorer: https://godbolt.org/z/jhxxK9hT3 The C++20 version of uses_allocator_construction_args seems to inappropriately forward the pair's data members and when they happen to be rvalue references, they decay to an lvalue reference which breaks constructibility tests. This same code will pass for previous standards versions. I'm not sure about the range of compilers affected by this but it seems to follow wherever C++20 support is enabled.