This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: LOOP_EXPR
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Virender Kashyap <virenk at cse dot iitb dot ac dot in>
- Cc: GCC HELP <gcc-help at gcc dot gnu dot org>
- Date: Tue, 28 Dec 2004 11:29:45 -0500
- Subject: Re: LOOP_EXPR
- References: <Pine.LNX.4.61.0412282137150.26409@mars.cse.iitb.ac.in>
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.