gcc-9-20200904 is now available

2020-09-04 Thread GCC Administrator via Gcc
Snapshot gcc-9-20200904 is now available on https://gcc.gnu.org/pub/gcc/snapshots/9-20200904/ 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

Re: Is there a way to look for a tree by its UID?

2020-09-04 Thread Erick Ochoa
On 04/09/2020 15:19, Richard Biener wrote: On Fri, Sep 4, 2020 at 10:13 AM Erick Ochoa wrote: On 03/09/2020 12:19, Richard Biener wrote: On Thu, Sep 3, 2020 at 10:58 AM Jakub Jelinek via Gcc wrote: On Thu, Sep 03, 2020 at 10:22:52AM +0200, Erick Ochoa wrote: So, I am just wondering i

Re: Is there a way to look for a tree by its UID?

2020-09-04 Thread Richard Biener via Gcc
On Fri, Sep 4, 2020 at 10:13 AM Erick Ochoa wrote: > > > > On 03/09/2020 12:19, Richard Biener wrote: > > On Thu, Sep 3, 2020 at 10:58 AM Jakub Jelinek via Gcc > > wrote: > >> > >> On Thu, Sep 03, 2020 at 10:22:52AM +0200, Erick Ochoa wrote: > >>> So, I am just wondering is there an interface wh

Re: about souce code location

2020-09-04 Thread 易会战 via Gcc
how to check the location corresponding to a gimple statement? My instrument stmt include some memory access, I wish get right source code line. By context it is possible get wrong line. ---Original--- From: "Richard Biener"

Re: #line directives in generated C files

2020-09-04 Thread Pip Cet via Gcc
On Thu, Sep 3, 2020 at 8:19 PM Hans-Peter Nilsson wrote: > On Thu, 27 Aug 2020, Pip Cet via Gcc wrote: > > 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 direct

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

2020-09-04 Thread Alexander Monakov via Gcc
> I obtained perf stat results for following benchmark runs: > > -O2: > > 7856832.692380 task-clock (msec) #1.000 CPUs utilized > 3758 context-switches #0.000 K/sec > 40 cpu-migrations #0

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

2020-09-04 Thread Prathamesh Kulkarni via Gcc
On Mon, 31 Aug 2020 at 16:53, Prathamesh Kulkarni wrote: > > On Fri, 28 Aug 2020 at 17:33, Alexander Monakov wrote: > > > > 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 ? > > > > Pro

Re: Is there a way to look for a tree by its UID?

2020-09-04 Thread Jakub Jelinek via Gcc
On Fri, Sep 04, 2020 at 10:12:57AM +0200, Erick Ochoa wrote: > I am thinking about representing an alias set similarly to the pt_solution. > Instead of having bits set in position of points-to variables UIDs, I was > thinking about having bits set in position of may-alias variables' UIDs. I > think

Re: Is there a way to look for a tree by its UID?

2020-09-04 Thread Erick Ochoa
On 03/09/2020 12:19, Richard Biener wrote: On Thu, Sep 3, 2020 at 10:58 AM Jakub Jelinek via Gcc wrote: On Thu, Sep 03, 2020 at 10:22:52AM +0200, Erick Ochoa wrote: So, I am just wondering is there an interface where I could do something like: ``` // vars is the field in pt_solution

Re: A silly question regarding function types

2020-09-04 Thread Richard Biener via Gcc
On Fri, Sep 4, 2020 at 4:39 AM Gary Oblock via Gcc wrote: > > Note, isn't a problem, rather, it's something that puzzles me. > > On walking a function types argument types this way > > for ( arg = TYPE_ARG_TYPES ( func_type); >arg != NULL; >arg = TREE_CHAIN ( arg)) > { >

Re: about souce code location

2020-09-04 Thread Richard Biener via Gcc
On Fri, Sep 4, 2020 at 2:23 AM 易会战 via Gcc wrote: > > I am working a instrumention tool, and need get the location info for a > gimple statement. I use the location structure to get the info, and it can > work when i use -O1. When I use -O2, sometimes the info seems to be lost and > I get line