Re: [PATCH 2/2] optinfo: add diagnostic remarks

2018-07-09 Thread Richard Biener
On Mon, Jul 2, 2018 at 10:51 PM David Malcolm wrote: > > This patch adds the first destination for optinfo instances to be > emitted to: as "remarks" through the diagnostics subsystem. > > Examples can be seen at > https://dmalcolm.fedorapeople.org/gcc/2018-06-18/test.cc.remarks.html > > Remarks

[PATCH 2/2] optinfo: add diagnostic remarks

2018-07-02 Thread David Malcolm
This patch adds the first destination for optinfo instances to be emitted to: as "remarks" through the diagnostics subsystem. Examples can be seen at https://dmalcolm.fedorapeople.org/gcc/2018-06-18/test.cc.remarks.html Remarks look a lot like the output of -fopt-info, with the following differ