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


>>>>> "Diego" == Diego Novillo <dnovillo@redhat.com> writes:

>> We want to lower our parse tree to SIMPLE, but we can't represent this kind
>> of CYCLE and EXIT statements in SIMPLE.

Diego> Maybe we shouldn't have to.  Couldn't the above be modelled
Diego> with GOTOs?  The way I'd rather handle it is to have the g95
Diego> simplifier deal with things like this.

FWIW, Java also has this feature.  I'm curious to know why it is you'd
prefer this be handled using GOTO.  Or to put it another way, why not
handle all continue/break using GOTO?

Tom


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