Re: identifying a BB representing a self-loop

2006-05-21 Thread Zdenek Dvorak
Hello, > >> If we compile this by "#gcc -c -O -da demo.c, we can see there are only > >> three BBs. Actually, BB1 is a self-looped basic block. But this loop > >> information is not explicitly expressed. > >> > > > >What do you mean "not explicitly expressed". > > > >If you call the loop finding r

Re: identifying a BB representing a self-loop

2006-05-19 Thread sean yang
From: Daniel Berlin <[EMAIL PROTECTED]> To: sean yang <[EMAIL PROTECTED]> CC: gcc@gcc.gnu.org, [EMAIL PROTECTED] Subject: Re: identifying a BB representing a self-loop Date: Fri, 19 May 2006 15:41:30 -0400 sean yang wrote: > Some basic blocks may represent a (self) loop, but GCC&#

Re: identifying a BB representing a self-loop

2006-05-19 Thread Daniel Berlin
sean yang wrote: > Some basic blocks may represent a (self) loop, but GCC's internal basic > block representation won't show such information explicitly (i.e., it won't > store a self-loop edge). > My question is, when I walk through basic blocks, can I identify then > easily? > > E.g., Let's s