This is the mail archive of the gcc-help@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: LOOP_EXPR


On Tue, 2004-12-28 at 21:42 +0530, Virender Kashyap wrote:
> Hi,
>      I am working on a a particular optimization in GCC and intend to use 
> GIMPLE for this. I have some doubt about the LOOP_EXPR as given in grammar 
> of GIMPLE. The documentation mentions a separare expresssion called 
> LOOP_EXPR to denote loops( as infinite while loops).

The docs i have say 
"
@node Loops
@subsubsection Loops
@cindex Loops

At one time loops were expressed in GIMPLE using @code{LOOP_EXPR}, but
now they are lowered to explicit gotos.
"

>  But when i see the 
> GIMPLE being generated for simple loops all i see is labels and goto 
> instructions, with no sign of while (or LOOP_EXPR).
>   Can someone clarify on this.
> 
> Thanks and Regards,
> Virender.


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