This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [CFG] what are class 3 edges ?


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 other stuff;
	break;
   default:
	exit(1);
}

Regards
-- 
Emmanuel Fleury

A thing is not necessarily true because a man dies for it.
  -- Oscar Wilde


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]