Re: Questions regarding update_stmt and release_ssa_name_fn.

2020-08-28 Thread Richard Biener via Gcc
On Fri, Aug 28, 2020 at 6:29 AM Gary Oblock wrote: > > > If x_2 is a default def then the IL isn't correct in the first place. I > > doubt > > it is that way, btw. - we have verifiers that would blow up if it would. > > Richard, > > I'm just sharing this so you can tell me whether or not I'm goi

Re: #line directives in generated C files

2020-08-28 Thread Richard Sandiford
Pip Cet via Gcc writes: > I may be missing an obvious workaround, but it seems we currently emit > a #line directive when including lines from machine description files > in C files, but never emit a second directive when switching back to > the generated C file. This makes stepping through the ba

Re: LTO slows down calculix by more than 10% on aarch64

2020-08-28 Thread Prathamesh Kulkarni via Gcc
On Wed, 26 Aug 2020 at 16:50, Richard Biener wrote: > > On Wed, Aug 26, 2020 at 12:34 PM Prathamesh Kulkarni via Gcc > wrote: > > > > Hi, > > We're seeing a consistent regression >10% on calculix with -O2 -flto vs -O2 > > on aarch64 in our validation CI. I tried to investigate this issue a > > bi

Test case for improving PTA precision

2020-08-28 Thread Erick Ochoa
Hi, I'm testing the precision of IPA-PTA when compiling with -flto. I found this case when a global variable is marked as escaping even if the variable is a primitive type and no address is taken. This is the result of IPA-PTA which I believe is wrong. buff2 = { ESCAPED NONLOCAL } buff1 = {

Re: LTO slows down calculix by more than 10% on aarch64

2020-08-28 Thread Richard Biener via Gcc
On Fri, Aug 28, 2020 at 1:17 PM Prathamesh Kulkarni wrote: > > On Wed, 26 Aug 2020 at 16:50, Richard Biener > wrote: > > > > On Wed, Aug 26, 2020 at 12:34 PM Prathamesh Kulkarni via Gcc > > wrote: > > > > > > Hi, > > > We're seeing a consistent regression >10% on calculix with -O2 -flto vs > >

Re: LTO slows down calculix by more than 10% on aarch64

2020-08-28 Thread Alexander Monakov via Gcc
On Fri, 28 Aug 2020, Prathamesh Kulkarni via Gcc wrote: > I wonder if that's (one of) the main factor(s) behind slowdown or it's > not too relevant ? Probably not. Some advice to make your search more directed: Pass '-n' to 'perf report'. Relative sample ratios are hard to reason about when they

Re: Test case for improving PTA precision

2020-08-28 Thread Richard Biener via Gcc
On Fri, Aug 28, 2020 at 1:24 PM Erick Ochoa wrote: > > Hi, > > I'm testing the precision of IPA-PTA when compiling with -flto. I found > this case when a global variable is marked as escaping even if the > variable is a primitive type and no address is taken. > > This is the result of IPA-PTA whic

[GSoC] Automatic Parallel Compilation Viability -- Final Report

2020-08-28 Thread Giuliano Belinassi via Gcc
Hi, This is the final report of the "Automatic Parallel Compilation Viability" project. Please notice that this report is pretty similar to the delivered from the 2nd evaluation, as this phase consisted of mostly rebasing and bug fixing. Please, reply this message for any question or suggestion.

gcc-9-20200828 is now available

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