[Bug fortran/44371] [4.6 Regression] STOP parsing rejects valid code

sgk at troutmask dot apl dot washington dot edu gcc-bugzilla@gcc.gnu.org
Wed Jun 2 01:57:00 GMT 2010



------- Comment #2 from sgk at troutmask dot apl dot washington dot edu  2010-06-02 01:57 -------
Subject: Re:  [4.6 Regression] STOP parsing rejects valid code

On Wed, Jun 02, 2010 at 12:42:11AM -0000, kargl at gcc dot gnu dot org wrote:
>     }
> #if 0
>   if (gfc_match_eos () != MATCH_YES)
>     goto syntax;
> #endif
> 
> If the first gfc_match_eos () does not match an end-of-statement,
> gfortran immediate calls gfc_match_eos () again.  With the #if 0
> above the code in comment #1 compiles and executes.  So, why is
> there a 2nd call to gfc_match_eos().
> 

Removing this chunk of code causes no testsuite regressions
on x86_64-*-freebsd.

Is leftover from the STOP/ALL_STOP churn?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44371



More information about the Gcc-bugs mailing list