[RFC] Extension of SIMPLE for Fortran 95
Diego Novillo
dnovillo@redhat.com
Mon Jun 10 10:07:00 GMT 2002
On Mon, 2002-06-10 at 12:34, Michal Moskal wrote:
> 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?
>
As usual, patches welcome. The issue still hasn't piqued my interest
and it will be mildly annoying to change the simplifier and the
flowgraph builder.
Diego.
More information about the Gcc
mailing list