How to modify Bugzilla tracker

2019-12-10 Thread Feng Xue OS
Hi, I want to alter some information of an existing Bugzilla tracker, such as assignee, but found there is no entrance in page of the Bugzilla tracker to do this. How can I get it? Thanks, Feng

Question about storing summaries during LTO

2019-12-10 Thread Erick Ochoa
Hello, I am trying to understand how to store information in object files during LTO. Is it possible to write arbitrary data in these sections? There's not a lot of documentation about the specifics I need in the GCC Internals. I have made a simple LTO pass that writes * "Hello world\n" into an

Re: Questions about IPA/clones and new LTO pass

2019-12-10 Thread Jan Hubicka
> On Mon, 2019-12-09 at 17:59 -0500, Erick Ochoa wrote: > > Hello, > > > > this is an update on the LTO pass we've been working on. The > > optimization is called ipa-initcall-cp because it propagates constant > > values written to variables with static lifetimes (such as ones > > initialized in i

Re: Questions about IPA/clones and new LTO pass

2019-12-10 Thread Jeff Law
On Mon, 2019-12-09 at 17:59 -0500, Erick Ochoa wrote: > Hello, > > this is an update on the LTO pass we've been working on. The > optimization is called ipa-initcall-cp because it propagates constant > values written to variables with static lifetimes (such as ones > initialized in initialization

Re: GCC static analysis branch now available on Compiler Explorer

2019-12-10 Thread Jeff Law
On Tue, 2019-12-10 at 12:51 -0700, Martin Sebor wrote: > On 12/10/19 10:56 AM, David Malcolm wrote: > > On Tue, 2019-12-10 at 09:36 -0700, Martin Sebor wrote: > > > On 12/10/19 8:46 AM, David Malcolm wrote: > > > > For the adventurous/curious, my static analyzer branch of GCC > > > > [1] > > > > is

Re: Code bloat due to silly IRA cost model?

2019-12-10 Thread Georg-Johann Lay
Hi, doesn't actually anybody know know to make memory more expensive than registers when it comes to allocating registers? Whatever I am trying for TARGET_MEMORY_MOVE_COST and TARGET_REGISTER_MOVE_COST, ira-costs.c always makes registers more expensive than mem and therefore allocates values t

Re: GCC static analysis branch now available on Compiler Explorer

2019-12-10 Thread Martin Sebor
On 12/10/19 10:56 AM, David Malcolm wrote: On Tue, 2019-12-10 at 09:36 -0700, Martin Sebor wrote: On 12/10/19 8:46 AM, David Malcolm wrote: For the adventurous/curious, my static analyzer branch of GCC [1] is now available on Compiler Explorer (aka godbolt.org) so you can try it out without bui

Re: GCC static analysis branch now available on Compiler Explorer

2019-12-10 Thread David Malcolm
On Tue, 2019-12-10 at 09:36 -0700, Martin Sebor wrote: > On 12/10/19 8:46 AM, David Malcolm wrote: > > For the adventurous/curious, my static analyzer branch of GCC [1] > > is > > now available on Compiler Explorer (aka godbolt.org) so you can try > > it > > out without building it yourself. [Than

Re: GCC static analysis branch now available on Compiler Explorer

2019-12-10 Thread David Malcolm
On Tue, 2019-12-10 at 12:11 -0500, David Malcolm wrote: > On Tue, 2019-12-10 at 11:04 -0500, Marek Polacek wrote: > > On Tue, Dec 10, 2019 at 10:46:59AM -0500, David Malcolm wrote: > [...] > > > Would it make sense to add an "analyzer" component to our > > > bugzilla, > > > even though this is stil

Re: GCC static analysis branch now available on Compiler Explorer

2019-12-10 Thread David Malcolm
On Tue, 2019-12-10 at 11:04 -0500, Marek Polacek wrote: > On Tue, Dec 10, 2019 at 10:46:59AM -0500, David Malcolm wrote: [...] > > Would it make sense to add an "analyzer" component to our bugzilla, > > even though this is still on a branch? (with me as default > > assignee) > > I think so, we hav

Re: GCC static analysis branch now available on Compiler Explorer

2019-12-10 Thread Martin Sebor
On 12/10/19 8:46 AM, David Malcolm wrote: For the adventurous/curious, my static analyzer branch of GCC [1] is now available on Compiler Explorer (aka godbolt.org) so you can try it out without building it yourself. [Thanks to Matt Godbolt, Patrick Quist and others at the Compiler Explorer proje

Re: GCC static analysis branch now available on Compiler Explorer

2019-12-10 Thread Marek Polacek
On Tue, Dec 10, 2019 at 10:46:59AM -0500, David Malcolm wrote: > For the adventurous/curious, my static analyzer branch of GCC [1] is > now available on Compiler Explorer (aka godbolt.org) so you can try it > out without building it yourself. [Thanks to Matt Godbolt, Patrick > Quist and others at

GCC static analysis branch now available on Compiler Explorer

2019-12-10 Thread David Malcolm
For the adventurous/curious, my static analyzer branch of GCC [1] is now available on Compiler Explorer (aka godbolt.org) so you can try it out without building it yourself. [Thanks to Matt Godbolt, Patrick Quist and others at the Compiler Explorer project] On https://godbolt.org/ within the C an

Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-10 Thread Jonathan Wakely
On Tue, 10 Dec 2019 at 06:22, Andrew Pinski wrote: > > On Mon, Dec 9, 2019 at 10:14 PM li zi wrote: > > > > Hi All, > > We are using gcc in our projects and we found some of the C standard > > functions (like memcpy, strcpy) used in gcc may induce security > > vulnerablities like buffer overflo