Re: [CFG] what are class 3 edges ?

2007-08-13 Thread Sunzir Deepur
On 8/12/07, Dave Korn <[EMAIL PROTECTED]> wrote: > On 11 August 2007 08:42, Emmanuel Fleury wrote: > > Sunzir Deepur wrote: > >> so why are those class 3 edges created at all ? > > I didn't see any 3-edges blocks at all in your example. > Not 3-edge b

RE: [CFG] what are class 3 edges ?

2007-08-12 Thread Dave Korn
On 11 August 2007 08:42, Emmanuel Fleury wrote: > Hi, > > Sunzir Deepur wrote: >> >> so why are those class 3 edges created at all ? > > I didn't see any 3-edges blocks at all in your example. Not 3-edge blocks; class 3 edges = the green lines. > Thes

Re: [CFG] what are class 3 edges ?

2007-08-11 Thread Emmanuel Fleury
Hi, Sunzir Deepur wrote: > > so why are those class 3 edges created at all ? I didn't see any 3-edges blocks at all in your example. These extra edges might come from a non-taken path that have been removed after some further static-analysis of the code. Sorry, but I didn't ta

Re: [CFG] what are class 3 edges ?

2007-08-03 Thread Sunzir Deepur
On 8/3/07, Emmanuel Fleury <[EMAIL PROTECTED]> wrote: > Sunzir Deepur wrote: > > hello, > > > > what are class 3 edges ? > > why make them ? > > if i understand ok, they do not represent a legit flow of code... > > Switches: ok, that's one exampl

Re: [CFG] what are class 3 edges ?

2007-08-03 Thread Emmanuel Fleury
Sunzir Deepur wrote: > > ok, that's one example where class 3 edges are created, but why is that ? > they obviously do not represent a legit flow of code. > e.g. > if(condition) { > BB1 > } > else { >BB2 > } > > here i get (besides the obvious

Re: [CFG] what are class 3 edges ?

2007-08-03 Thread Emmanuel Fleury
Sunzir Deepur wrote: > hello, > > what are class 3 edges ? > why make them ? > if i understand ok, they do not represent a legit flow of code... Switches: switch (c) { case '0': do some stuff; break; case '1': do some oth

[CFG] what are class 3 edges ?

2007-08-03 Thread Sunzir Deepur
hello, what are class 3 edges ? why make them ? if i understand ok, they do not represent a legit flow of code... thank you sunzir

Re: class 3 edges

2007-06-19 Thread Seongbae Park (박성배, 朴成培)
On 6/19/07, Sunzir Deepur <[EMAIL PROTECTED]> wrote: hello, when I compile with -dv -fdump-rtl-* I somtimes see in the VCG files some edges that have no meaning in the flow of the program. these edges are always green and class 3. what are those edges ? what is their purposes ? thank you sunzi

class 3 edges

2007-06-19 Thread Sunzir Deepur
hello, when I compile with -dv -fdump-rtl-* I somtimes see in the VCG files some edges that have no meaning in the flow of the program. these edges are always green and class 3. what are those edges ? what is their purposes ? thank you sunzir