[RFC] Extension of SIMPLE for Fortran 95

Jan Hubicka jh@suse.cz
Tue Jun 11 03:58:00 GMT 2002


> > On Monday 10 June 2002 02:14, S. Bosscher wrote:
> > > So I would like to propose an extension to the SIMPLE grammar:
> > > How about adding an integer argument to the 'continue' and 'break'
> > > statements, that gives how many loops to break or continue from. 'continue'
> > > without argument would be the "normal" continue statement, 'continue 1'
> > > would contine the second-innermost loop, etc.
> 
> Supposing that Diego doesn't decide to remove break entirely,

Isn't this done already?  I think the simpleyfing pass already
canonicalizes loop to break/continue less forms.

Honza
> I suggest not using a number, but rather have the break/continue
> reference the tree node for the loop directly.
> 
> 
> r~



More information about the Gcc mailing list