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: [PATCH] Fix ICE on free form !$omp continued directive followed by OpenMP conditional line (PR fortran/29759)


On Fri, Nov 10, 2006 at 01:17:16PM -0500, Jakub Jelinek wrote:
> On Fri, Nov 10, 2006 at 10:42:46AM +0100, Daniel Franke wrote:
> > I created a more complete testcase and added it to
> > testsuite/gfortran.dg/gomp as pr29759.f90. The patch
> > was updated accordingly.
> 
> Here is my proposed fix, !$ conditional line should really be clearing
> openmp_flag, as it is not OpenMP directive line.  The caller then does
> all that's needed, i.e. doesn't treat & at the end of last directive line
> as continuation character, but as literal & and the parser issues
> diagnostics.
> 
> Ok for 4.2/4.3?
> 

OK.

-- 
Steve


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