[patch, fortran, openmp] PR43711 - report unexpected junk after OMP statements

Daniel Franke franke.daniel@gmail.com
Tue May 11 16:24:00 GMT 2010


On Tuesday 11 May 2010 18:26:29 Jakub Jelinek wrote:
> On Tue, May 11, 2010 at 06:11:03PM +0200, Daniel Franke wrote:
> > --- openmp.c	(revision 159211)
> > +++ openmp.c	(working copy)
> > @@ -467,7 +467,10 @@ match
> > 
> >  gfc_match_omp_taskwait (void)
> >  {
> >  
> >    if (gfc_match_omp_eos () != MATCH_YES)
> > 
> > -    return MATCH_ERROR;
> > +    {
> > +      gfc_error("Unexpected junk after TASKWAIT clause at %C");
> 
> Add a space before ( (occurs many times in the patch).

Done.

Otherwise ok to commit?

	Daniel



More information about the Gcc-patches mailing list