Re: [PATCH] Add new debug_bb_range debugging function

2013-02-18 Thread Richard Biener
On Sat, 16 Feb 2013, Dodji Seketeli wrote: > Jakub Jelinek writes: > > > On Sat, Feb 16, 2013 at 10:40:43AM +0100, Dodji Seketeli wrote: > >> --- a/gcc/cfg.c > >> +++ b/gcc/cfg.c > >> @@ -663,6 +663,21 @@ debug_bb_n (int n) > >>return bb; > >> } > >> > >> +/* Dumps cfg related information

Re: [PATCH] Add new debug_bb_range debugging function

2013-02-16 Thread Dodji Seketeli
Jakub Jelinek writes: > On Sat, Feb 16, 2013 at 10:40:43AM +0100, Dodji Seketeli wrote: >> --- a/gcc/cfg.c >> +++ b/gcc/cfg.c >> @@ -663,6 +663,21 @@ debug_bb_n (int n) >>return bb; >> } >> >> +/* Dumps cfg related information about basic blocks, from number 'S' >> + to number E, to stde

Re: [PATCH] Add new debug_bb_range debugging function

2013-02-16 Thread Jakub Jelinek
On Sat, Feb 16, 2013 at 10:40:43AM +0100, Dodji Seketeli wrote: > --- a/gcc/cfg.c > +++ b/gcc/cfg.c > @@ -663,6 +663,21 @@ debug_bb_n (int n) >return bb; > } > > +/* Dumps cfg related information about basic blocks, from number 'S' > + to number E, to stderr. */ > + > +DEBUG_FUNCTION basi

[PATCH] Add new debug_bb_range debugging function

2013-02-16 Thread Dodji Seketeli
Hello, In my first foray of debugging gimple stuff, I felt the need for a function function to dump a range of basic block from number N to P to stderr. I find this a bit more handy than calling debug_bb_n on each basic block instead. I understand this is material for 4.9, so if you agree I'll s