Re: [PATCH] -fsave-optimization-record: add contrib/optrecord.py

2018-08-03 Thread Jeff Law
On 07/25/2018 08:59 AM, David Malcolm wrote: > On Tue, 2018-07-24 at 16:11 +0200, Richard Biener wrote: >> On Mon, Jul 23, 2018 at 9:20 PM David Malcolm >> wrote: >>> >>> On Mon, 2018-07-23 at 11:46 +0200, Richard Biener wrote: On Fri, Jul 20, 2018 at 6:27 PM David Malcolm >>> m> wrote:

Re: [PATCH] -fsave-optimization-record: add contrib/optrecord.py

2018-07-25 Thread David Malcolm
On Tue, 2018-07-24 at 16:11 +0200, Richard Biener wrote: > On Mon, Jul 23, 2018 at 9:20 PM David Malcolm > wrote: > > > > On Mon, 2018-07-23 at 11:46 +0200, Richard Biener wrote: > > > On Fri, Jul 20, 2018 at 6:27 PM David Malcolm > > m> > > > wrote: > > > > > > > > This patch adds a Python 3

Re: [PATCH] -fsave-optimization-record: add contrib/optrecord.py

2018-07-24 Thread Richard Biener
On Mon, Jul 23, 2018 at 9:20 PM David Malcolm wrote: > > On Mon, 2018-07-23 at 11:46 +0200, Richard Biener wrote: > > On Fri, Jul 20, 2018 at 6:27 PM David Malcolm > > wrote: > > > > > > This patch adds a Python 3 module to "contrib" for reading the > > > output of > > >

Re: [PATCH] -fsave-optimization-record: add contrib/optrecord.py

2018-07-23 Thread David Malcolm
On Mon, 2018-07-23 at 11:46 +0200, Richard Biener wrote: > On Fri, Jul 20, 2018 at 6:27 PM David Malcolm > wrote: > > > > This patch adds a Python 3 module to "contrib" for reading the > > output of > > -fsave-optimization-record. > > > > It can be imported from other Python code, or run

Re: [PATCH] -fsave-optimization-record: add contrib/optrecord.py

2018-07-23 Thread Richard Biener
On Fri, Jul 20, 2018 at 6:27 PM David Malcolm wrote: > > This patch adds a Python 3 module to "contrib" for reading the output of > -fsave-optimization-record. > > It can be imported from other Python code, or run standalone as a script, > in which case it prints the saved messages in a form

[PATCH] -fsave-optimization-record: add contrib/optrecord.py

2018-07-20 Thread David Malcolm
This patch adds a Python 3 module to "contrib" for reading the output of -fsave-optimization-record. It can be imported from other Python code, or run standalone as a script, in which case it prints the saved messages in a form resembling GCC diagnostics. OK for trunk? contrib/ChangeLog: