This is the mail archive of the gcc-patches@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: [gfortran] Fix PR17708: Fix jumps to END DO label


On Tuesday 28 September 2004 17:44, Tobias Schlüter wrote:
> END DO is different from END IF and END SELECT in that, if it is the target
> of a branch execution remains within the construct it encloses, i.e. the
> loop should continue looping. We treated it the same as END IF and END
> SELECT, thereby creating the breakage reported in the PR. The attached
> simple patch fixes this by generating the label within the loop, instead of
> behind it. We now also correctly warn about the use of this obsolescent
> feature.
>
> Built and tested. New testcase attached.

But no Changelog :-)

Ok once you write one.

Paul


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