[vox-tech] loop never exits!

Robert Parker rlp1938 at gmail.com
Wed Apr 21 09:43:49 PDT 2010


On Wed, Apr 21, 2010 at 11:37 PM, Brian Lavender <brian at brie.com> wrote:
> I told the compiler to go through a loop while a certain expression
> evaluates to true. When the expression evalates to false, the loop
> should terminate. If I had provided no expression, or I had provided
> true, or some value that would always evaluate to true, then I would
> expect the compiler to do as I tell it.
>
> I have provided an expression for the loop to terminate that could
> evaluate to false, yet will never evaluate to false.
>
> This determination can be done through static analysis. Hence,
> I am still convinced that the compiler should issue a warning. Yet,
> I am still looking for a contradiction to my theory.

If you are using an open source compiler just download the source and
rewrite it so that it does what you want instead of just continuing to
complain about it.

-- 
Politician: That which will happily sacrifice your interests including
your life if need be in pursuit of its pipe dreams.


More information about the vox-tech mailing list