Re: Multi-Threading GCC Compiler Internal Data

2019-09-18 Thread Richard Biener
On Tue, 17 Sep 2019, Nicholas Krause wrote: > > On 9/17/19 2:37 AM, Richard Biener wrote: > > On Mon, 16 Sep 2019, Nicholas Krause wrote: > > > >> Greetings Richard, > >> > >> I don't know if it's currently possible but whats the best way to either so > >> about or > >> > >> use a tool to expose

Adding -Wshadow=local to gcc build rules

2019-09-18 Thread Bernd Edlinger
Hi, I'm currently trying to add -Wshadow=local to the gcc build rules. I started with -Wshadow, but gave up that idea immediately. As you could expect the current code base has plenty of shadowed local variables. Most are trivial to resolve, some are less trivial. I am not finished yet, but it i

Re: Adding -Wshadow=local to gcc build rules

2019-09-18 Thread Martin Liška
On 9/18/19 3:08 PM, Bernd Edlinger wrote: > Hi, > > I'm currently trying to add -Wshadow=local to the gcc build rules. > I started with -Wshadow, but gave up that idea immediately. > > As you could expect the current code base has plenty of shadowed > local variables. Most are trivial to resolve

Re: Adding -Wshadow=local to gcc build rules

2019-09-18 Thread Tom Tromey
> "Bernd" == Bernd Edlinger writes: Bernd> I'm currently trying to add -Wshadow=local to the gcc build rules. Bernd> I started with -Wshadow, but gave up that idea immediately. Bernd> As you could expect the current code base has plenty of shadowed Bernd> local variables. Most are trivial t

Re: Multi-Threading GCC Compiler Internal Data

2019-09-18 Thread Nicholas Krause
On 9/18/19 4:01 AM, Richard Biener wrote: On Tue, 17 Sep 2019, Nicholas Krause wrote: On 9/17/19 2:37 AM, Richard Biener wrote: On Mon, 16 Sep 2019, Nicholas Krause wrote: Greetings Richard, I don't know if it's currently possible but whats the best way to either so about or use a tool t

How can I build new functions on the fly during optimization?

2019-09-18 Thread Gary Oblock
I'm trying to build new functions on the fly during optimization. For those of you that have not been following my previous questions, this is structure reorganization optimization related. For example when somebody frees an array of type fu, I'd like to build a new function _reorg_free_fu which do

Updating Makefile to Allow Profiling of GCC Internals

2019-09-18 Thread Nicholas Krause
Greetings, I'm not as familar of the currrent Makefile internals for GCC, so what is the best way to add -pg for profiling. Seems I need to add it for gprof in order to get some real data for multi-threading GCC internals. Thanks, NIck

Any future plan supporting livepatching in kernel for AArch64?

2019-09-18 Thread Bin.Cheng
Hi, I read through previous messages which tried to support livepatching in kernel for AArch64. Following is the patch supporting mfentry: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00756.html And this is the last message about above thread: https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01093.ht

Re: Any future plan supporting livepatching in kernel for AArch64?

2019-09-18 Thread Andrew Pinski
On Wed, Sep 18, 2019 at 9:24 PM Bin.Cheng wrote: > > Hi, > I read through previous messages which tried to support livepatching > in kernel for AArch64. > Following is the patch supporting mfentry: > https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00756.html > And this is the last message about abov

Re: Any future plan supporting livepatching in kernel for AArch64?

2019-09-18 Thread Andrew Pinski
On Wed, Sep 18, 2019 at 9:56 PM Andrew Pinski wrote: > > On Wed, Sep 18, 2019 at 9:24 PM Bin.Cheng wrote: > > > > Hi, > > I read through previous messages which tried to support livepatching > > in kernel for AArch64. > > Following is the patch supporting mfentry: > > https://gcc.gnu.org/ml/gcc-p

Re: Any future plan supporting livepatching in kernel for AArch64?

2019-09-18 Thread Bin.Cheng
On Thu, Sep 19, 2019 at 1:02 PM Andrew Pinski wrote: > > On Wed, Sep 18, 2019 at 9:56 PM Andrew Pinski wrote: > > > > On Wed, Sep 18, 2019 at 9:24 PM Bin.Cheng wrote: > > > > > > Hi, > > > I read through previous messages which tried to support livepatching > > > in kernel for AArch64. > > > Fol