Re: Bad performance (with GCC 11.3.0 - O3) of a small etude in C

2022-07-08 Thread Martin Liška
On 7/8/22 06:31, Georgi Marinov via Gcc wrote: > Hi, > just wanted to let you know that I found that GCC 11.3.0 -O3 is generating > code with many unnecessary jumps (while CLANG 14.0.1 -O3 not) in a small > partitioning (for Quicksort) 15 lines of code etude. > In case you are interested I will s

Re: Question about speculative make_edge_direct_to_target during LTO/IPA_PASS

2022-07-08 Thread Martin Jambor
Hi Erick,, On Thu, Jul 07 2022, Erick Ochoa wrote: > On Fri, 1 Jul 2022 at 14:48, Martin Jambor wrote: > >> Why so late, why not as part of number 4? >> > Thanks for the feedback. The original reason why the call to > make_edge_direct_to_target was done so late is because of the lack of > functio

Re: Rust front-end

2022-07-08 Thread Philip Herron
Hi Richard Thanks for your detailed response, I took some time to figure this out myself to give a decent response. It seems like we should keep the end of the year as our goal to aim for but in the meantime see if we can split patches which affect GCC over the next month or so. We have no changes

[RFC] Using std::unique_ptr and std::make_unique in our code

2022-07-08 Thread David Malcolm via Gcc
std::unique_ptr is C++11, and I'd like to use it in the gcc/analyzer subdirectory, at least. The following patch eliminates a bunch of "takes ownership" comments and manual "delete" invocations in favor of simply using std::unique_ptr. The problem is that the patch makes use of std::make_unique,

Re: [RFC] Using std::unique_ptr and std::make_unique in our code

2022-07-08 Thread Gabriel Ravier via Gcc
On 7/8/22 22:46, David Malcolm via Gcc wrote: std::unique_ptr is C++11, and I'd like to use it in the gcc/analyzer subdirectory, at least. The following patch eliminates a bunch of "takes ownership" comments and manual "delete" invocations in favor of simply using std::unique_ptr. The problem i

Re: [RFC] Using std::unique_ptr and std::make_unique in our code

2022-07-08 Thread Jonathan Wakely via Gcc
On Fri, 8 Jul 2022 at 21:47, David Malcolm via Gcc wrote: > > std::unique_ptr is C++11, and I'd like to use it in the gcc/analyzer > subdirectory, at least. The following patch eliminates a bunch of > "takes ownership" comments and manual "delete" invocations in favor > of simply using std::uniqu

gcc-11-20220708 is now available

2022-07-08 Thread GCC Administrator via Gcc
Snapshot gcc-11-20220708 is now available on https://gcc.gnu.org/pub/gcc/snapshots/11-20220708/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 11 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch