This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Simplify initial RTL for loops
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Roger Sayle <roger at www dot eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 14 Jan 2003 21:43:58 -0800
- Subject: Re: [PATCH] Simplify initial RTL for loops
- References: <Pine.LNX.4.44.0301142050190.5639-100000@www.eyesopen.com>
Roger Sayle <roger@www.eyesopen.com> writes:
> This patch reduces the number of RTL insns that we initially create
> for "infinite loops", such as "while (1)" or "for(;;)". This is
> similar to my earlier patch to likewise improve "do {} while (1)".
> http://gcc.gnu.org/ml/gcc-patches/2002-09/msg00616.html
Cool!
> genrtl_while_stmt (t)
> tree t;
> {
> ! tree cond;
> emit_nop ();
Hmm, what is the point of that emit_nop()? Why do we even have such a
thing?
zw