Re: [PATCH] Dump BB number when dumping a BB with label.

2017-07-28 Thread Richard Biener
On Fri, Jul 28, 2017 at 12:52 PM, Martin Liška wrote: > On 07/28/2017 09:58 AM, Richard Biener wrote: >> On Fri, Jul 28, 2017 at 9:50 AM, Martin Liška wrote: >>> On 07/28/2017 09:21 AM, Richard Biener wrote: On Thu, Jul 27, 2017 at 4:24 PM, Martin Liška wrote: > Hi. > > Followin

Re: [PATCH] Dump BB number when dumping a BB with label.

2017-07-28 Thread Martin Liška
On 07/28/2017 09:58 AM, Richard Biener wrote: > On Fri, Jul 28, 2017 at 9:50 AM, Martin Liška wrote: >> On 07/28/2017 09:21 AM, Richard Biener wrote: >>> On Thu, Jul 27, 2017 at 4:24 PM, Martin Liška wrote: Hi. Following simple patch adds support for dumping of BBs when it's a BB >

Re: [PATCH] Dump BB number when dumping a BB with label.

2017-07-28 Thread Richard Biener
On Fri, Jul 28, 2017 at 9:50 AM, Martin Liška wrote: > On 07/28/2017 09:21 AM, Richard Biener wrote: >> On Thu, Jul 27, 2017 at 4:24 PM, Martin Liška wrote: >>> Hi. >>> >>> Following simple patch adds support for dumping of BBs when it's a BB >>> that contains a label. That makes it easier for de

Re: [PATCH] Dump BB number when dumping a BB with label.

2017-07-28 Thread Martin Liška
On 07/28/2017 09:21 AM, Richard Biener wrote: > On Thu, Jul 27, 2017 at 4:24 PM, Martin Liška wrote: >> Hi. >> >> Following simple patch adds support for dumping of BBs when it's a BB >> that contains a label. That makes it easier for debugging as one can >> find destination for an edge in dump fi

Re: [PATCH] Dump BB number when dumping a BB with label.

2017-07-28 Thread Richard Biener
On Thu, Jul 27, 2017 at 4:24 PM, Martin Liška wrote: > Hi. > > Following simple patch adds support for dumping of BBs when it's a BB > that contains a label. That makes it easier for debugging as one can > find destination for an edge in dump file. > > Sample, before: > > foo (int a) > { > int D

[PATCH] Dump BB number when dumping a BB with label.

2017-07-27 Thread Martin Liška
Hi. Following simple patch adds support for dumping of BBs when it's a BB that contains a label. That makes it easier for debugging as one can find destination for an edge in dump file. Sample, before: foo (int a) { int D.1821; int _1; int _4; int _5; [0.00%] [count: INV]: switch (