[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gomp-discuss] C parser patch for parsing omp pragmas
From: |
Lars Segerlund |
Subject: |
Re: [Gomp-discuss] C parser patch for parsing omp pragmas |
Date: |
Fri, 25 Feb 2005 10:39:10 +0100 |
Hi Dimitry,
First I will look over the parser again, and check it out thoroughly. Secondly
do you have any idea of how to go about integrating it into gcc's frontend ?
Also just popped my mind, will it be possible to use it with c++ ? ( there are
some
semantic differences between c & c++ as for OpenMP I think ).
/ regards, Lars Segerlund.
On Fri, 25 Feb 2005 11:10:19 +0300
Dmitry Kurochkin <address@hidden> wrote:
> Hello.
>
> Some updates to the patch:
>
> - updated the C parser patch to the last version
>
> (http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00339/c-parser-patch-version-8.gz)
>
> - expression is expected after atomic directives
> - statement is expected after critical, master, ordered, parallel and
> single directives
> - for loop is expected after for and parallel for directives
> - fixed tree type in sections directive handler
> - fixed variable lookup in variable list
> - Added obstack to handle sections and section directives. Now nested
> sections directives are handled correctly.
> - section scope is expected after sections directive
> - section directive can appear inside sections directive
> - statement expected after section directive
>
>
> Now the parser should be able to parse any valid OpenMP program.
>
> The full patch is attached.
>
> Regards,
> Dmitry