G++ question

Mark Mitchell mark@codesourcery.com
Thu Sep 1 23:23:00 GMT 2005


Gabriel Dos Reis wrote:

> Both branches of the if-statement contain an unconditional "break",
> which implies that the apparant unbounded while-loop is executed only
> once.  If that reasoning is correct, why do we have the while-loop in
> the first place? 

Historical accident; a patch to remove it is pre-approved after testing.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gcc mailing list