[RFC] Extension of SIMPLE for Fortran 95

Michal Moskal malekith@pld-linux.org
Mon Jun 10 09:53:00 GMT 2002


On Mon, Jun 10, 2002 at 12:20:42PM -0400, Diego Novillo wrote:
> On Mon, 2002-06-10 at 12:03, Tom Tromey wrote:
> > Or to put it another way, why not handle all continue/break using GOTO?
> >
> I can only give you one pretty weak reason: the original SIMPLE grammar
> allows them.  I wouldn't mind handling them using GOTO statements.

So remove them (break & continue). It will save you questions like:
which one is more efficient, so should I check if, in my language,
`break foobar' break inner or outer loop so I should use break or
goto?

-- 
: Michal Moskal ::::: malekith/at/pld-linux.org :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}>+++ h



More information about the Gcc mailing list