29-08-2006, 03:48 PM
Quote:MISRA C Steering Team - 2/11/2005
In writing MISRA-C:2004, the use of a loop with two exits was considered acceptable.
One is available for normal exit, and the second for exceptional exits, using the \"break\" statement.
This jump is well constrained unlike \"goto\" which can allow jumps anywhere.
Re-posted under offical user name only.
Posted by and on behalf of the MISRA C Working Group