This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Extension of SIMPLE for Fortran 95


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]