This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44371] [4.6 Regression] STOP parsing rejects valid code
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2010 04:53:21 -0000
- Subject: [Bug fortran/44371] [4.6 Regression] STOP parsing rejects valid code
- References: <bug-44371-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from sgk at troutmask dot apl dot washington dot edu 2010-06-02 04:53 -------
Subject: Re: [4.6 Regression] STOP parsing rejects valid code
On Wed, Jun 02, 2010 at 04:52:03AM -0000, sgk at troutmask dot apl dot
washington dot edu wrote:
>
> Neither testcase includes the original problem report.
> In error_stop_2.f08, you have
>
> if (c=='x') stop size(i); if (c=='X') stop
>
> which contains and initialization expression. Please
> the original test without the expression, ie.,
Grr. s/Please/Please add/
>
> if (c=='x') stop ; if (c=='X') stop
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44371