This is the mail archive of the gcc-bugs@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]

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



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

On Wed, Jun 02, 2010 at 04:46:56AM -0000, jvdelisle at gcc dot gnu dot org
wrote:
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160134
> Log:
> 2010-06-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
> 
>         PR fortran/44371
>         * gfortran.dg/error_stop_1.f08: New test.
>         * gfortran.dg/error_stop_2.f08: New test.
> 
> Added:
>     trunk/gcc/testsuite/gfortran.dg/error_stop_1.f08
>     trunk/gcc/testsuite/gfortran.dg/error_stop_2.f08

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.,

 if (c=='x') stop ; if (c=='X') stop



-- 


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


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